Hello John, Thanks John, I think, I can now use boost regex_search for verification. ( of a regex engine built in hardware) Also Sorry to bother you, the compilation error were due to, not including boost_regex library during compilation. Regards, Chandan. --- John Maddock <john@johnmaddock.co.uk> wrote:
undefined reference to `boost::reg_expression<char, boost::regex_traits<char>, std::allocator<char>
get_traits() const'
Please help.
Those are link time messages, and crucially you've omitted the actual error!
You do sometimes get *warnings* like that if your binutils and gcc packages are differing in versions.
Also, could you please elaborate more on how to achieve overlapping matches using regex_search.
i,j; // iterators to search through smatch what; regex re("something");
while(regex_search(i, j, what, re) && (i != j)) { do_something(what); ++i; }
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news