mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-01-14 22:18:43 +00:00
Squashed 'custom/convert-furigana/' changes from f21e49b..40c6789
40c6789 Fixed kanji parsing by adding 々 git-subtree-dir: custom/convert-furigana git-subtree-split: 40c67897788021b364f2e768944b1966df069033
This commit is contained in:
parent
5283a7e481
commit
60b63687e8
@ -7,7 +7,7 @@ import re
|
|||||||
|
|
||||||
# https://www.reddit.com/r/learnpython/comments/h0tsaa/regex_expression_for_japanese_extracting/
|
# https://www.reddit.com/r/learnpython/comments/h0tsaa/regex_expression_for_japanese_extracting/
|
||||||
re_brace = '{(.+?)}'
|
re_brace = '{(.+?)}'
|
||||||
re_kanji = '([㐀-䶵一-鿋豈-頻]+)'
|
re_kanji = '([㐀-䶵一-鿋豈-頻々]+)'
|
||||||
re_kana = '([ぁ-ゟ゠-ヿ]+)'
|
re_kana = '([ぁ-ゟ゠-ヿ]+)'
|
||||||
|
|
||||||
### Open file ###
|
### Open file ###
|
||||||
|
Loading…
Reference in New Issue
Block a user