don't use ":" (colon) as possible separator - reduce false positives

This commit is contained in:
whosit 2024-11-09 09:38:09 +03:00
parent fda81ced37
commit 7cb0c49f09

View File

@ -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)