23 Mar
2007
23 Mar
'07
3:36 p.m.
Eric Niebler
<aside> Had you been using xpressive, you could do this as follows:
sregex rex = ... make a regex object ... ;
// make rex "whole word" by wrapping it in begin- // and end-of-word assertions rex = bow >> rex >> eow;
Although munging the regex string like John suggests works, too. </aside>
Hi Eric, Sorry I didn't know xpressive. Actually I don't find it in the Boost documentation... You may want to add something in http://www.boost.org/libs/libraries.htm. As for me, it's my entry point to Boost documentation... Thanks for your help.