Skip to content
Myr

Move regex flags to separate argument

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Adrian Moennich · committed by Adrian Moennich · parent 7ae752f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_ext.py+1 added-1 removed
17 unmodified lines
18from jinja2._compat import BytesIO, itervalues, text_type1920importable_object = 232122_gettext_re = re.compile(r'_\((.*?)\)(?s)')22_gettext_re = re.compile(r'_\((.*?)\)', re.DOTALL)232425i18n_templates = {26 'master.html': '<title>{{ page_title|default(_("missing")) }}</title>'
471 unmodified lines