http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53622

             Bug #: 53622
           Summary: C++11 regex captures extra characters
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: whatmannerofburgerist...@gmail.com


Created attachment 27593
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27593
Test case

Trying to use std::ragex_match captures extra characters that it shouldn't.

Example: 
"zxcv/(one.*)abc" matching "zxcv/onetwoabc"

This captures the / as well as the trailing abc.

Tested with MacPorts gcc 4.7 and 4.8 from 20120603

Reply via email to