Nafrondel is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Nafrondel @Nafrondel

@kingu_platypus_gidora
When I write a regexp that works:
πŸ‘‰πŸ˜ŽπŸ‘‰
When I see any other regexp:
😨😡😱

Β· Web Β· 0 Β· 1

@Nafrondel This "What is a regexp" is part of a Google search I was doing but end up here by mistake.

My question was "What is a regexp to match japanese text?"

@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 😁!

@22 This page
gist.github.com/terrancesnyder
helped me.

Since I am coding in scheme, regexp support is more limited.

I ended up using this

#/[ぁ-γ‚”γ‚žγ‚‘-γƒ»γƒ½γƒΎγ‚›γ‚œγƒΌ]/

It seerms to work so far.