You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Improve implementation of the format string parser #155
The format string parser that extracts expressions (i.e {{ expression... }} blocks) from the string for processing is a pretty naive character-by-character inspection of the input string. It works but it's not very performant. A better implementation is desirable.
Proposed Solution
A solution that leverages the performant parts of the Python runtime would be better. For example, something that efficiently leverages the regular expression parser.
The implementation of the pygments lexer (BSD 2-clause license) could be a solid source of inspiration for this.
Activity
mwiebe commentedon Jul 27, 2026
Handled by the EXPR extension implementation