[issue3511] Incorrect charset range handling with ignore case flag?

Ezio Melotti report at bugs.python.org
Fri Feb 20 07:46:24 CET 2009


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

I'd close this as "won't fix", because (IMHO) ranges like [9-A]
shouldn't be used at all, so I won't expect it to work properly.

FWIW Perl doesn't seem to match the '_', even with the 'i' flag. Tested
with: perl -e '$s = ("_" =~ /[9-A]/); print $s' and perl -e '$s = ("_"
=~ /[9-A]/i); print $s'. It matches ":" with [9-A] and "_" with [9-a]
though (both without the 'i' flag).

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3511>
_______________________________________


More information about the Python-bugs-list mailing list