jinja
jinja copied to clipboard
Lexer improvements
- fixes #1687 #1688 Additionaly:
- changes
newline_reso that it doesn't have group and doesn't require[::2]aftersplit - simplified
Tuple[Failure]toFailure - used faster
isspaceinstead of regex
Checklist:
- [x] Add or update relevant docs, in the docs folder and in code.
- [x] Add an entry in
CHANGES.rstsummarizing the change and linking to the issue. - [x] Add
.. versionchanged::entries in any relevant code docs. - [x] Run
pre-commithooks and fix any issues. - [x] Run
pytestandtox, no tests failed.