Sourceware Bugzilla – Attachment 12153 Details for
Bug 25322
regex mishandles back-references inside interval expressions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
C program illustrating bug with back-references inside intervals
backrefbug.c (text/x-csrc), 197 bytes, created by
eggert
on 2019-12-29 20:35:01 UTC
(
hide
)
Description:
C program illustrating bug with back-references inside intervals
Filename:
MIME Type:
Creator:
eggert
Created:
2019-12-29 20:35:01 UTC
Size:
197 bytes
patch
obsolete
>#include <regex.h> > >int >main (void) >{ > regex_t re; > if (regcomp (&re, ".*((.)\\2){2}$", REG_EXTENDED) != 0) > return 1; > if (regexec (&re, "yippee", 0, 0, 0) != 0) > return 2; > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 25322
: 12153