config: 取消 uppercase 的正则
This commit is contained in:
parent
05ddc71cab
commit
ce96b3d9e3
@ -6,7 +6,7 @@
|
||||
schema:
|
||||
schema_id: rime_ice
|
||||
name: 雾凇拼音
|
||||
version: "1.0.4"
|
||||
version: "1.0.5"
|
||||
author:
|
||||
- Dvel
|
||||
description: |
|
||||
@ -152,15 +152,15 @@ punctuator:
|
||||
# 处理符合特定规则的输入码,如网址、反查
|
||||
recognizer:
|
||||
patterns:
|
||||
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
|
||||
uppercase: "[A-Z][_+.'0-9A-Za-z]*$"
|
||||
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$"
|
||||
url_2: "^[a-z]+[.].*" # 支持 google.com(不以 www 开头)的网址,会导致句号不会让句子上屏,或使用句号翻页时需要注释掉
|
||||
win_path: "^[A-Za-z]:.*" # 支持 c:\file\path 之类的路径输入
|
||||
colon: "^[A-Za-z]+:.*" # 上面的超集,冒号在句子中不直接上屏
|
||||
# punct: "^/([0-9]+[a-z]*|[a-z]+)$"
|
||||
punct: "^v([0-9]|10|[A-Za-z]+)$" # 响应 symbols_custom.yaml 下的 punctuator/symbols,用「v」替换「/」并支持大写
|
||||
reverse_lookup: "^u[a-z]+$" # 响应两分的反查
|
||||
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$" # 自带的,e-mail 正则
|
||||
# uppercase: "[A-Z][-_+.'0-9A-Za-z]*$" # 自带的,大写字母开头后,可以输入[-_+.'0-9A-Za-z]这些字符
|
||||
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]+[.].+$" # 自带的,URL 正则
|
||||
url_2: "^[A-Za-z]+[.].*" # 支持 google.com abc.txt 等网址或文件名,会导致句号不会让句子上屏,或使用句号翻页时需要注释掉
|
||||
win_path: "^[A-Za-z]:.*" # 支持 c:\file\path 之类的路径输入
|
||||
colon: "^[A-Za-z]+:.*" # 上面的超集,可以输入冒号,不会导致句子直接上屏
|
||||
# punct: "^/([0-9]+[a-z]*|[a-z]+)$" # 响应默认的 punctuation/symbols 的「/」开头的字符
|
||||
punct: "^v([0-9]|10|[A-Za-z]+)$" # 响应 symbols_custom.yaml 下的 punctuator/symbols,用「v」替换「/」并支持大写
|
||||
reverse_lookup: "^u[a-z]+$" # 响应两分的反查
|
||||
|
||||
|
||||
# 反查:两分(拼字)
|
||||
|
Loading…
x
Reference in New Issue
Block a user