Does PCRE support unicode string correctly?
RegexBuddy's regex engine is fully Unicode-based starting with version 2.0.
PCRE tries to match Perl syntax and semantics as closely as it can. PCRE also supports some alternative regular expression syntax (which does not conflict with the Perl syntax) in order to provide some compatibility with regular expressions in Python, .
Yes, it does (though probably not Unicode 6 yet). From the man page:
The current implementation of PCRE corresponds approximately with Perl 5.12, including port for UTF-8 encoded strings and Unicode general category properties. However, UTF-8 and Unicode support has to be explicitly enabled; it is not the default. The Unicode tables correspond to Unicode release 5.2.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With