LoginSignup
4
5

More than 5 years have passed since last update.

日本語に大体マッチする正規表現

Last updated at Posted at 2013-01-11

(?:[ぁ-ヶ]|[亜-黑]|ー)+

実際にはポロポロ漏れがあるよーな
(Eclipseの全文検索でソース内の日本語を検索したときはそうでした。「不」「。」「一」などがマッチしない)
(Perlではほとんどマッチします)

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5