-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
很棒的库,请求支持简体、繁体、日语、韩语的匹配。 #75
Labels
Comments
感谢反馈, 我整理下. |
研究了下,相关文章比较少, 如大家有看到相关文章还请多多分享下. 勘正后我会批次发布上述语言的正则 |
可以,冲出中国,走向世界的第一步 |
至今为止没找到韩语的正则... |
/^([\uAC00-\uD7AF])*$/gi 试试这个 要从unicode范围入手 |
这个是哪个语言的? |
韩语 |
作者大大你好,請問繁體關於中文判斷的正則可以直接使用嗎? |
现在正则没法区分简/繁哦 @faydanube |
简体、繁体 在unicode范围上是区分不了的 http://www.0517z.com/ 在这里有个字典表收录了很多的简体 和繁体。必要的话可以对照indexOf来区分,可以将所有的字爬下来使用。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
很棒的库,请求支持简体、繁体、日语、韩语的匹配。
The text was updated successfully, but these errors were encountered: