"John Machin" <[EMAIL PROTECTED]> writes: > But not on other integer subtypes. If regexps should not be restricted > to text, they should work on domains whose number of symbols is greater > than 256, shouldn't they?
I think the underlying regexp C library isn't written that way. I can see reasons to want a higher-level regexp library that works on arbitrary sequences, calling a user-supplied function to classify sequence elements, the way current regexps use the character code to classify characters. -- http://mail.python.org/mailman/listinfo/python-list