Can regular expressions work with different languages?

后端 未结 8 1506
慢半拍i
慢半拍i 2020-12-10 05:42

English, of course, is a no-brainer for regex because that\'s what it was originally developed in/for:

Can regular expressions understand this charact

8条回答
  •  我在风中等你
    2020-12-10 06:13

    /[\p{Latin}]/ should for example, include Latin alphabet. You can get the full explanation and reference here.

提交回复
热议问题