This is the mail archive of the glibc-bugs-regex@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/13396] New: culry is treated as a range in cases where POSIX says it should not be


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]