Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::regex Character set including braces
From: John Maddock (john_at_[hidden])
Date: 2013-12-04 14:00:28

>I discovered that if one uses an closing bracket as the first character of
>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
>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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at