diff --git a/tatsu/buffering.py b/tatsu/buffering.py index 87358d99..5a2a91fd 100644 --- a/tatsu/buffering.py +++ b/tatsu/buffering.py @@ -357,7 +357,7 @@ def _scanre(self, pattern): if isinstance(pattern, RETYPE): cre = pattern else: - cre = re.compile(pattern, re.MULTILINE) + cre = re.compile(pattern) return cre.match(self.text, self.pos) @property