mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
c92652d241
* fix(components): [input] Write chinese in parenthesis, letters repeat closed #11723 * fix: remove redundant |
3 lines
91 B
TypeScript
3 lines
91 B
TypeScript
export const isKorean = (text: string) =>
|
|
/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(text)
|