Closed jpmckinney closed 9 years ago
just for my own curiosity- what is \p{Lu} ? (hard to search for)
\p{Lu}
is all Unicode uppercase letters. Here's several similar classes: http://www.regular-expressions.info/unicode.html
Can you provide a test for this or documentation? I ran into this without knowing that \p{Lu} exists, thanks for sharing!
See #81
Thanks!
Python doesn't support
\p{Lu}
, etc. which is bananas.Thankfully,
regex
does support them.However,
re.match(pattern, value)
will blow up ifpattern
is a compiledregex
pattern.This PR stops the blow-up.