Opened 6 years ago
Closed 6 years ago
#12511 closed Bugs (worksforme)
Perl Regular Expression Syntax documentation: special character ] missing
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | regex |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I just noticed that in the list of special chars to be escaped, we have [ but not ]:
In Perl regular expressions, all characters match themselves except for the following special characters:
.[{}()\*+?|^$
Does this make sense?
http://www.boost.org/doc/libs/1_62_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html
Note:
See TracTickets
for help on using tickets.
] is not special, except after a [.
I'll add a note to the docs to that effect.