This is the mail archive of the
glibc-bugs-regex@sourceware.org
mailing list for the glibc project.
[Bug regex/13396] New: culry is treated as a range in cases where POSIX says it should not be
- From: "kevin.braunsdorf at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs-regex at sources dot redhat dot com
- Date: Wed, 09 Nov 2011 18:54:19 +0000
- Subject: [Bug regex/13396] New: culry is treated as a range in cases where POSIX says it should not be
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13396
Bug #: 13396
Summary: culry is treated as a range in cases where POSIX says
it should not be
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: regex
AssignedTo: drepper.fsp@gmail.com
ReportedBy: kevin.braunsdorf@gmail.com
Classification: Unclassified
Target: Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Created attachment 6046
--> http://sourceware.org/bugzilla/attachment.cgi?id=6046
C program to repeat the bug
In the RE "^[$](S|{SHELL}|k|K)$" the curly braced are not
range specifiers. Other versions of regcomp accept this RE
with no errors (egrep, *BSD's implmentation and others), but
the later glibc complains:
regcomp: ^[$](S|{SHELL}|k|K)$: Invalid preceding regular expression
(I include a test program for it.)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.