/[一-龠]+|[ぁ-ゔ]+|[ァ-ヴー]+|[々〆〤ヶ]+/u
I’m not really familiar with the regex you are using but all the expressions in the square brackets except for the first one are Japanese (though Japanese uses Chinese characters - kanji - too).
/[一-龠]+|[ぁ-ゔ]+|[ァ-ヴー]+|[々〆〤ヶ]+/u
It blocks ranges of unicode characters. All of the characters used in these typed dialects occur in sequence in the unicode character standard.I’m not really familiar with the regex you are using but all the expressions in the square brackets except for the first one are Japanese (though Japanese uses Chinese characters - kanji - too).
[一-龠] means match any character that occurs in the set between (and including) 一 and 龠./[一-龠]+/u
/[ぁ-ゔ]+/u
/[ァ-ヴー]+/u
/[々〆〤ヶ]+/u
/u means "do unicode regex matching".
We use essential cookies to make this site work, and optional cookies to enhance your experience.