Lua's (and any other regex I think) have char-sets that allow matching for any symbol in the set. Is there a way to match several symbols from that set as one? Example
text:gsub("foo[^bar]-","") -- matches for any foo that is not followed by 'b', 'a' or 'r'
Is there a way to make it allow 'b', 'a' or 'r', but not allow exactly 'bar' (and maybe a few more non-one symbol) patterns after?