更新时间:2022-11-14 18:28:02
***的选择是使用 Unicode chracter类.对于您的情况,它将为\p{Arabic}
.但是不要忘记,您还应该在末尾添加Unicode PCRE修饰符/u
.
The best option is to use an Unicode chracter class for that. It would be \p{Arabic}
for your case. But don't forget that you should also add the Unicode PCRE modifier /u
at the end.