quoted sections in tag not grouped correctly
zzzeek opened this issue · 1 comments
zzzeek commented
this will crash the Lexer due to the regex:
from mako.lexer import Lexer
template = "<%0" + '"' * 3000
Lexer(template).parse
sqla-tester commented
Mike Bayer has proposed a fix for this issue in the main branch:
fix tag regexp to match quoted groups correctly https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/4053