regexr
regexr copied to clipboard
Inconsistent / broken pattern matching for unicode letters in PCRE mode
Today I noticed, that RegExr seems to provide inconsistent / false matches for unicode pattern matching. Maybe I'm missing something...
- Pattern with non-unicode string:
Pattern: [\p{L}]+
Test: Example
=> Match
- Pattern with unicode string:
Pattern: [\p{L}]+
Test: Exämple
=> 2 Matches
- Pattern with start + end tags and unicode string:
Pattern: ^[\p{L}]+$
Test: Exämple
=> No Match
- Pattern with start tag and unicode string:
Pattern: ^[\p{L}]+
Test: Exämple
=> 1 Match