don't use ":" (colon) as possible separator - reduce false positives
This commit is contained in:
parent
fda81ced37
commit
7cb0c49f09
2
init.lua
2
init.lua
@ -567,7 +567,7 @@ end
|
||||
|
||||
-- Trying to mach any three integer numbers separated at least by
|
||||
-- spaces or punctuation.
|
||||
local FUZZY_COORD_PATTERN = "(%-?%d+)[%s]*[%s,:;][%s]*(%-?%d+)[%s]*[%s,:;][%s]*(%-?%d+)"
|
||||
local FUZZY_COORD_PATTERN = "(%-?%d+)[%s]*[%s,;][%s]*(%-?%d+)[%s]*[%s,;][%s]*(%-?%d+)"
|
||||
|
||||
|
||||
local function fuzzy_parse_coords(str)
|
||||
|
Loading…
Reference in New Issue
Block a user