diff --git a/script/build.js b/script/build.js index 997102f..1299dd5 100644 --- a/script/build.js +++ b/script/build.js @@ -246,13 +246,13 @@ while (++index < files.length) { // Push Japanese. // Unicode Kanji Table from: // - const kanjiRegexSource = '[\u3400-\u4DB5\u4E00-\u9FAF]' + const kanjiRegexSource = /[\u3400-\u4DB5\u4E00-\u9FAF]/ regularExpressions.jpn = new RegExp( expressions.Hiragana.source + '|' + expressions.Katakana.source + '|' + - kanjiRegexSource, + kanjiRegexSource.source, 'g' )