diff --git a/node_formatter.py b/node_formatter.py index 6ade2ef..51e3a86 100644 --- a/node_formatter.py +++ b/node_formatter.py @@ -29,7 +29,9 @@ _re_formatting_keyword_match = _re.compile( # Pre-compiled regex match to extra r'(?P\{+)' r'(?P[^{}]+)' r'(?P\}+)' - r'(?P[^{}].*)?$' + r'(?P[^{}].*)?$', + # flags=_re.DOTALL | _re.IGNORECASE, + flags = _re.DOTALL, # We need dot to match new lines, too ).match