From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19898 invoked by alias); 9 Nov 2011 18:54:44 -0000 Received: (qmail 19883 invoked by uid 22791); 9 Nov 2011 18:54:43 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_EG X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Nov 2011 18:54:24 +0000 From: "kevin.braunsdorf at gmail dot com" To: glibc-bugs-regex@sources.redhat.com Subject: [Bug regex/13396] New: culry is treated as a range in cases where POSIX says it should not be Date: Wed, 09 Nov 2011 18:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevin.braunsdorf at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-regex-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sourceware.org X-SW-Source: 2011-11/txt/msg00000.txt.bz2 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.