這是我的錯誤,似乎與服務器升級有關。preg_match(): Compilation failed: invalid range in character class // The regex that did not compilereturn preg_match("/^[\.\pL-0-9'\s]+$/u", $value);我看不到問題,也沒有找到關于現在可能需要轉義哪些字符的明確文檔。PCRE (Perl Compatible Regular Expressions) Support => enabledPCRE Library Version => 10.32 2018-09-10PCRE Unicode Version => 11.0.0php 7.3.17
- 2 回答
- 0 關注
- 136 瀏覽
添加回答
舉報
0/150
提交
取消