替换功能怎么排序? #205
cool-delete
started this conversation in
General
替换功能怎么排序?
#205
Replies: 1 comment
-
规则“㊣ 难➡️nàn”里有:经.{0,3} 如果以后还遇到错误把词语里的“难”替换为“婻”的,在替换规则开头括号里的“难得”后面添加那个词就行(注意必须是“难”字在前的词),要注意用“|”隔开。如果是“难”字在后的词,比如“好难”,那么应该是在替换规则最后面添加:(?<!好难) (注意:你的规则“难nàn”是有错误的,没有起作用,所以这里没有提到需要修改它) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[
{
"group": {
"id": 1694675739055,
"name": "人名地名官职",
"order": 3,
"onExecution": 1
},
"list": [
{
"id": 1694765722473,
"groupId": 1694675739055,
"name": "定难",
"pattern": "定难",
"replacement": "定nàn",
"order": 5
}
]
},
{
"group": {
"id": 1675488184588,
"name": "纠正发音【H-Z】",
"order": 4
},
"list": [
{
"id": 1720755331778,
"groupId": 1675488184588,
"name": "难得",
"pattern": "难得",
"replacement": "难得",
"order": 1
},
{
"id": 1675395291403,
"groupId": 1675488184588,
"name": "难nàn",
"isRegex": true,
"pattern": "(?<=[患])难\n(?<=患|落|多灾多|磨|责|遭|逃|避|发|罹|遭.{0,3}|经.{0,3}|逃过.)难",
"replacement": "婻",
"order": 27
}
]
},
{
"group": {
"id": 1676833236984,
"name": "字词_正则",
"order": 11
},
"list": [
{
"id": 1676833540496,
"groupId": 1676833236984,
"name": "㊣ 难➡️nàn",
"isRegex": true,
"pattern": "难(?=民(?!众))|(?<=多灾多|遭.{0,3}|经.{0,3}|逃过.{0,3}|[患落磨责逃避发罹])难",
"replacement": "婻",
"order": 26
},
{
"id": 1676834061999,
"groupId": 1676833236984,
"name": "㊣ 难➡️nuó",
"isRegex": true,
"pattern": "难(?=[戏舞])|(?<=佩玉之)难",
"replacement": "傩",
"order": 27
}
]
}
]
请求音频:岳阳估计这家伙平时可能是一个少爷兵,说不定还是个大家族的子弟,初次上战场,面对危境,能够像现在这样坚持,已经很婻得了。
我明明写了难得的读音,但是变成婻了
Beta Was this translation helpful? Give feedback.
All reactions