This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/10290] using REG_ICASE can break ranges
- From: "bonzini at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Sep 2010 15:10:51 -0000
- Subject: [Bug regex/10290] using REG_ICASE can break ranges
- References: <20090617154705.10290.jbastian@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From bonzini at gnu dot org 2010-09-21 15:10 -------
Note [C-a] is invalid anyway:
$ sed -n '/[C-a]/p' /dev/null
sed: -e expression #1, char 7: Invalid range end
However [c-A] is not and shows the bug:
$ sed -n '/[c-A]/p' /dev/null
$ sed -n '/[c-A]/I p'
sed: -e expression #1, char 9: Invalid range end
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10290
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.