Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
zsokami committed Feb 6, 2024
1 parent 6feeaf4 commit 5e11b4b
Showing 3 changed files with 230 additions and 230 deletions.
228 changes: 114 additions & 114 deletions ACL4SSR_Online_Full_Mannix.ini

Large diffs are not rendered by default.

228 changes: 114 additions & 114 deletions ACL4SSR_Online_Mannix.ini

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gen_re_emoji.py
Original file line number Diff line number Diff line change
@@ -125,10 +125,10 @@
rest = re_emoji[i + 1:]
if rest:
code_rest, zh_rest, en_rest = ('|'.join(rest) for rest in zip(*(x[1:] for x in rest)))
zh = rf"({zh})(?!.*({zh_rest})(?!中[轉转])),"
zh = rf"({zh})(?!中[轉转])(?!.*({zh_rest})(?!中[轉转])),"
en = rf"(?i:((?<![\da-z.])({code})(?!\d*[a-z])|{en})(?!.*((?<![\da-z.])({code_rest})(?!\d*[a-z])|{en_rest}))),"
else:
zh = rf"({zh}),"
zh = rf"({zh})(?!中[轉转]),"
en = rf"(?i:((?<![\da-z.])({code})(?!\d*[a-z])|{en})),"
re_emoji[i] = [prefix + x + emoji for x in (zh, en)]

0 comments on commit 5e11b4b

Please sign in to comment.