<regex>
: Revise parsing of escape sequences by muellerj2 · Pull Request #5380 · microsoft/STL (original) (raw)
I am reviewing this now - thanks as always for the extremely detailed PR description with citations, it is super appreciated for these complex changes. I edited it to fix a typo that made a citation harder to understand - please meow if I messed it up instead.
The parser supports the escape sequence
\[
but not\]
. More recent POSIX versions define\]
as well in basic and extended regular expressions. Should we add support for\]
?
Yes, I would be in favor of that, in a followup PR - it seems analogous to implementing a C++ Defect Report, and I suspect 99.9% of users would already expect that behavior.