apply_camera_style - made spaces conditional in the pattern match
so that pattern names with spaces will match
models that don't have spaces
This commit is contained in:
@@ -162,6 +162,7 @@ local function process_pattern(pattern)
|
||||
else
|
||||
pattern = string.gsub(pattern, "?", ".")
|
||||
end
|
||||
pattern = string.gsub(pattern, " ", " ?")
|
||||
-- escape dashes
|
||||
pattern = string.gsub(pattern, "%-", "%%-")
|
||||
-- until we end up with a set, I'll defer set processing, i.e. [...]
|
||||
|
||||
Reference in New Issue
Block a user