4 Dec
2013
4 Dec
'13
7 p.m.
I discovered that if one uses an closing bracket as the first character of a character class the character class includes this bracket. This works with the standard setting of boost::regex (i.e., perl-regular expressions) but it is not documented in the manual page
http://www.boost.org/doc/libs/1_55_0/libs/regex/doc/html/boost_regex/syntax/ perl_syntax.html#boost_regex.syntax.perl_syntax.character_sets
Is this an undocumented feature, a bug or did I misinterpret something in the manual?
It's a feature, both Perl and POSIX extended regular expression behave the same way. John.