I want to use re.MULTILINE but NOT re.DOTALL, so that I can have a regex that includes both an \"any character\" wildcard and the normal . wild
[^]
In regex, brackets contains a list and/or range of possible values for one matching character. If that list is empty, I mean [], any character of string can't match it.
Now, the caret in front of that list and/or range, negates those permitted values. So, in front of an empty list, any character (including newline) will match it.