Skip to content

Commit

Permalink
Restore the old behavior only trigger quickphrase on certain prefix f…
Browse files Browse the repository at this point in the history
…or domain name
  • Loading branch information
wengxt committed Jan 19, 2025
1 parent ac5a2be commit 2c976f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion im/pinyin/pinyin.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ FCITX_CONFIGURATION(
this,
"QuickPhraseTriggerRegex",
_("Regular expression to trigger quick phrase"),
{".(\\.|/|@)$", "^(http|https|ftp|telnet|mailto):"},
{".(/|@)$", "^(www|bbs|forum|mail|bbs)\\.",
"^(http|https|ftp|telnet|mailto):"},
{},
{},
{_("Enter quickphrase mode when current input matches any regular "
Expand Down

0 comments on commit 2c976f6

Please sign in to comment.