mirror of
https://github.com/iDvel/rime-ice.git
synced 2026-05-14 00:30:37 +08:00
dict: 日常更新; close #502
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
-- 这个 Lua 给英文单词后面自动加一个空格 #496
|
||||
|
||||
local function add_space_to_english_word(input)
|
||||
-- 匹配纯英文单词并在单词后添加空格
|
||||
input = input:gsub("(%a+)", "%1 ")
|
||||
|
||||
Reference in New Issue
Block a user