Merge pull request #558 from wpferguson/fix_acs_pattern_match

Fix apply_camera_style pattern matching
This commit is contained in:
wpferguson
2025-02-15 13:59:49 -05:00
committed by GitHub

View File

@@ -162,6 +162,7 @@ local function process_pattern(pattern)
else else
pattern = string.gsub(pattern, "?", ".") pattern = string.gsub(pattern, "?", ".")
end end
pattern = string.gsub(pattern, " ", " ?")
-- escape dashes -- escape dashes
pattern = string.gsub(pattern, "%-", "%%-") pattern = string.gsub(pattern, "%-", "%%-")
-- until we end up with a set, I'll defer set processing, i.e. [...] -- until we end up with a set, I'll defer set processing, i.e. [...]