是否PCRE是否正确支持 unicode 字符串?
最佳答案
是的,它确实(虽然可能还不是 Unicode 6)。来自 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.
关于regex - PCRE 是否正确支持 unicode 字符串?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5840018/