
11 Mar
2010
11 Mar
'10
5:54 p.m.
Hi All I am newbie to boost::regex. I have a string including multiple new lines characters in it like the one below. "this is a big string\nthat I would like\ntoParse here: WORD_TO_FIND=Ciao\nin the middle" I tried the following regex but it doesn't match. boost::regex ln0("WORD_TO_FIND=\t(?<SYMBOL>\\w+).+", boost::regex::perl ); Do you know what is the option and how to set it up to enable the matching for an entire string and not line by line? Thanks