Skip to content
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

Open
imfantuan opened this issue Mar 22, 2020 · 10 comments
Open
Projects

Comments

@imfantuan
Copy link

很棒的库,请求支持简体、繁体、日语、韩语的匹配。

@any86
Copy link
Owner

any86 commented Mar 23, 2020

感谢反馈, 我整理下.

@any86 any86 added the feat label Mar 27, 2020
@any86
Copy link
Owner

any86 commented Mar 29, 2020

研究了下,相关文章比较少, 如大家有看到相关文章还请多多分享下. 勘正后我会批次发布上述语言的正则

@any86 any86 added 需要帮助 and removed feat labels Mar 29, 2020
@any86 any86 pinned this issue Mar 29, 2020
@refanbanzhang
Copy link

refanbanzhang commented Aug 12, 2020

可以,冲出中国,走向世界的第一步

@any86
Copy link
Owner

any86 commented Aug 12, 2020

至今为止没找到韩语的正则...

@liuchuancong
Copy link

/^([\uAC00-\uD7AF])*$/gi 试试这个 要从unicode范围入手

@any86
Copy link
Owner

any86 commented Jan 19, 2021

/^([\uAC00-\uD7AF])*$/gi 试试这个 要从unicode范围入手

这个是哪个语言的?

@liuchuancong
Copy link

韩语

@faydanube
Copy link

感谢反馈, 我整理下.

作者大大你好,請問繁體關於中文判斷的正則可以直接使用嗎?

@any86
Copy link
Owner

any86 commented Jan 29, 2021

现在正则没法区分简/繁哦 @faydanube

@liuchuancong
Copy link

简体、繁体 在unicode范围上是区分不了的

http://www.0517z.com/ 在这里有个字典表收录了很多的简体 和繁体。必要的话可以对照indexOf来区分,可以将所有的字爬下来使用。

@any86 any86 added this to To do in 规划 Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
规划
To do
Development

No branches or pull requests

5 participants