recognizing \u escapes in regular expressions
14 Jun
2001
14 Jun
'01
11:46 a.m.
during a late hacking pass, I was perplexed to realized that r"[\u0000-\uffff]" didn't match any unicode character, and reported it as bug #420011. but a few minutes later, I realized that SRE doesn't support \u and \U escapes at all -- and that the pattern u"[\u0000-\uffff]" works as expected. should I close the bug report, or turn it into a feature request? </F>
8346
Age (days ago)
8346
Last active (days ago)
0 comments
1 participants
participants (1)
-
Fredrik Lundh