[Patch] Let ordinary escaping in POSIX regex be valid

Tim Shen timshen91@gmail.com
Fri Sep 27 20:21:00 GMT 2013


On Fri, Sep 27, 2013 at 9:37 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> Ah I see.  I definitely agree it's good to accept that instead of
> being unnecessarily strict, but other people will want the option of
> strict conformance, so I think we can please everyone with something
> like:
>
> else
>   {
> #ifdef __STRICT_ANSI__
>     __throw_regex_error(regex_constants::error_escape);
> #else
>    _M_token = _S_token_ord_char;
>    _M_value.assign(1, __c);
> #endif
>   }

Sorry for late >.<

Do I need to bootstrap again?


-- 
Tim Shen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.patch
Type: application/octet-stream
Size: 1478 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130927/e1388d95/attachment.obj>


More information about the Libstdc++ mailing list