You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
rm-code
changed the title
Inconsistent / broken pattern matching for unicode letters
Inconsistent / broken pattern matching for unicode letters in PCRE mode
Feb 12, 2024
Today I noticed, that RegExr seems to provide inconsistent / false matches for unicode pattern matching. Maybe I'm missing something...
Pattern:
[\p{L}]+
Test:
Example
=> Match

Pattern:
[\p{L}]+
Test:
Exämple
=> 2 Matches

Pattern:
^[\p{L}]+$
Test:
Exämple
=> No Match

Pattern:
^[\p{L}]+
Test:
Exämple
=> 1 Match

The text was updated successfully, but these errors were encountered: