这是我的错误,似乎与服务器升级有关。
preg_match(): Compilation failed: invalid range in character class
// The regex that did not compile
return preg_match("/^[\.\pL-0-9'\s]+$/u", $value);
我看不到问题,也没有找到关于现在可能需要转义哪些字符的明确文档。
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 10.32 2018-09-10
PCRE Unicode Version => 11.0.0
php 7.3.17
HUX布斯
温温酱