Add support for accented characters

This commit is contained in:
Bui 2020-12-02 09:39:48 +00:00
parent 88c45113a3
commit bd8e2191dd
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -51,3 +51,4 @@ version.json
public/index.html public/index.html
config.py config.py
public/assets/song_skins public/assets/song_skins
.venv

Binary file not shown.

View File

@ -69,11 +69,11 @@
smallHiragana: /[ぁぃぅぇぉっゃゅょァィゥェォッャュョ]/, smallHiragana: /[ぁぃぅぇぉっゃゅょァィゥェォッャュョ]/,
hiragana: /[\u3040-\u30ff]/, hiragana: /[\u3040-\u30ff]/,
todo: /[トド]/, todo: /[トド]/,
en: /[ceghknsuxyz]/, en: /[ceghknsuxyzçèéêëùúûü]/,
em: /[mw]/, em: /[mw]/,
emCap: /[MW]/, emCap: /[MW]/,
rWidth: /[abdfIjo-rtv-]/, rWidth: /[abdfIjo-rtv-àáâäòóôö]/,
lWidth: /[il]/, lWidth: /[ilìíîï]/,
ura: /\s*[\(]裏[\)]$/, ura: /\s*[\(]裏[\)]$/,
cjk: /[\u3040-ゞ゠-ヾ一-\u9ffe]/ cjk: /[\u3040-ゞ゠-ヾ一-\u9ffe]/
} }