public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/53622] New: C++11 regex captures extra characters
@ 2012-06-10  1:04 whatmannerofburgeristhis at gmail dot com
  2012-06-10  2:02 ` [Bug libstdc++/53622] " whatmannerofburgeristhis at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: whatmannerofburgeristhis at gmail dot com @ 2012-06-10  1:04 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: whatmannerofburgeristhis@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-24 15:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-10  1:04 [Bug libstdc++/53622] New: C++11 regex captures extra characters whatmannerofburgeristhis at gmail dot com
2012-06-10  2:02 ` [Bug libstdc++/53622] " whatmannerofburgeristhis at gmail dot com
2012-06-10 14:19 ` redi at gcc dot gnu.org
2012-06-11  8:37 ` redi at gcc dot gnu.org
2013-07-24 15:16 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).