Commit acfe971e authored by nanahira's avatar nanahira

fix

parent 3e0139f2
Pipeline #7083 passed with stages
in 1 minute and 10 seconds
...@@ -118,9 +118,10 @@ const chineseCharacterWordGroup: Record< ...@@ -118,9 +118,10 @@ const chineseCharacterWordGroup: Record<
const chineseCharacterList = Object.entries(chineseCharacterWordGroup).map( const chineseCharacterList = Object.entries(chineseCharacterWordGroup).map(
([value, patternObjects]) => ({ ([value, patternObjects]) => ({
value, value,
characterRegExp: patternObjects characterRegExp: new RegExp(
.map((patternObject) => patternObject.character) patternObjects.map((patternObject) => patternObject.character).join("|"),
.join("|"), "g"
),
}) })
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment