gpt4 book ai didi

regex - PCRE 是否正确支持 unicode 字符串?

转载 作者:行者123 更新时间:2023-12-04 17:57:18 24 4
gpt4 key购买 nike

是否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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com