Ahmed FASIH @22@octodon.social
Follow

@kingu_platypus_gidora Did you find it? Java/JVM languages, PCRE, etc. support Unicode character classes so you can ask for `\p{Han}\p{Katakana}\p{Hiragana}` (not sure if that includes ー and 々). In JavaScript though, I like using XRegExp (though you can use it to construct the regexp once and embed that in your code :) e.g., stackoverflow.com/questions/73). I'm always looking for CJK regexp tricks 😁!

· Web · 0 · 1