From 11b3da9bc01f7048a86db64a70524daa73fed61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 3 Feb 2021 19:15:10 +0800 Subject: only need characters other than the identifier --- script/provider/capability.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/provider/capability.lua') diff --git a/script/provider/capability.lua b/script/provider/capability.lua index 79261129..a66d4627 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -6,7 +6,7 @@ local platform = require 'bee.platform' local m = {} local function allWords() - local str = [[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.:('"[,#*@|=- ]] + local str = [[.:('"[,#*@|=- ]] local list = {} for c in str:gmatch '.' do list[#list+1] = c -- cgit v1.2.3