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

* [Bug libstdc++/53622] C++11 regex captures extra characters
  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 ` whatmannerofburgeristhis at gmail dot com
  2012-06-10 14:19 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: whatmannerofburgeristhis at gmail dot com @ 2012-06-10  2:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Matt Arsenault <whatmannerofburgeristhis at gmail dot com> 2012-06-10 02:02:42 UTC ---
The same samples work with boost regex


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

* [Bug libstdc++/53622] C++11 regex captures extra characters
  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
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-10 14:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-10 14:19:12 UTC ---
<regex> is unimplemented, there's little point trying to use it and even less
point reporting bugs against it.


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

* [Bug libstdc++/53622] C++11 regex captures extra characters
  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
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-11  8:37 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-11 08:36:39 UTC ---
.

*** This bug has been marked as a duplicate of bug 53631 ***


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

* [Bug libstdc++/53622] C++11 regex captures extra characters
  2012-06-10  1:04 [Bug libstdc++/53622] New: C++11 regex captures extra characters whatmannerofburgeristhis at gmail dot com
                   ` (2 preceding siblings ...)
  2012-06-11  8:37 ` redi at gcc dot gnu.org
@ 2013-07-24 15:16 ` redi at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2013-07-24 15:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Should be fixed by http://gcc.gnu.org/ml/gcc-cvs/2013-07/msg00643.html


^ 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).