SaragDay's recent timeline updates
SaragDay

SaragDay

V2EX member #210270, joined on 2017-01-11 17:54:54 +08:00
SaragDay's recent replies
我也同样遇到了问题 3, 我用的是双拼方案,在"double_pinyin_flypy.custom.yaml" 中配置了"recognizer"部分:

"""
patch:
recognizer:
import_preset: default
patterns:
code: "[a-zA-Z]+(*$"
email: "^[A-Za-z][-_.0-9A-Za-z]*@.*$"
html: "^<[a-z]+>$"
punct: "^/([a-z]+|[0-9]0?)$"
uppercase: "[A-Z][-_+.'0-9A-Za-z]*$"
url: "^(www[.]|https?:|ftp[.:]|mailto:|file:).*$|^[a-z]{1,10}[.:_-].*$"
reverse_lookup: "`[a-z]*'?$"
"""

其中 url 那个 pattern 中的“^[a-z]{1,10}[.:_-].*$” 会导致问题,我的解决方案是把这个部分注释掉,然后减号就能正常工作。
Jun 29, 2020
Replied to a topic by acrisliu 分享发现 GitHub 改版了
好丑
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1135 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 18:14 · PVG 02:14 · LAX 11:14 · JFK 14:14
♥ Do have faith in what you're doing.