Which flag is equal boost regex match_not_dot_newline in std regex?

Jonathan Wakely jwakely.gcc@gmail.com
Thu Apr 7 09:33:00 GMT 2011


On 7 April 2011 09:44, Miao Jiang wrote:
> Hello,
> I want . does not match newline in regex, in boost::regex it can be done by flag
> 'match_not_dot_newline', but in std::regex, the flag is missed, what's the std
> way to do that?

I don't know, but std::regex in GCC is very incomplete, are you sure
you want to use it?

You should probably just use boost::regex for now.



More information about the Libstdc++ mailing list