mirror of
https://github.com/falcosecurity/falco.git
synced 2026-03-19 19:22:05 +00:00
When performing list substitution, only replace a list name when it is surrounded by whitespace or expected punctuation characters. Lua patterns don't have a notion of this-or-that patterns e.g. (^|abc), so we have 3 versions of the substitution depending on whether he list name occurs in the beginning, middle, or end of a string. This fixes #197.