PCRE2Project / pcre2

PCRE2 development is now based here.
Other
918 stars 191 forks source link

Add additional tests for negated /[^\P{Lu}]/i behaviour #550

Closed NWilson closed 2 weeks ago

NWilson commented 2 weeks ago

PCRE2's behaviour matches Perl currently, and Python's regex module (the standard re module doesn't have \P{...}).

However, JavaScript behaviour changed recently (when they added the new 'v' flag; the old 'u' flag's behaviour is unchanged), so this case is worth additional testing.

Raised in issue #497.