diff --git a/tasks.py b/tasks.py index 6c704d6b1c..21f7616d76 100644 --- a/tasks.py +++ b/tasks.py @@ -502,9 +502,7 @@ def test_translations(c): # complie regex reg = re.compile( r"[a-zA-Z0-9]{1}"+ # match any single letter and number - r"(?![^{]*})"+ # that is not inside curly brackets - r"(?![^\<]*\>)"+ # that is not a tag - r"(?![^\(]*\))"+ # that is not inside brackets + r"(?![^{\(\<]*[}\)\>])"+ # that is not inside curly brackets, brackets or a tag r"(?