diff options
Diffstat (limited to 'django/template/base.py')
| -rw-r--r-- | django/template/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/base.py b/django/template/base.py index 4762d20516..f7e4f94f51 100644 --- a/django/template/base.py +++ b/django/template/base.py @@ -632,7 +632,7 @@ filter_raw_string = r""" )? )""" % { "constant": constant_string, - "num": r"[-+\.]?\d[\d\.e]*", + "num": r"[-+.]?\d[\d.e]*", "var_chars": r"\w\.", "filter_sep": re.escape(FILTER_SEPARATOR), "arg_sep": re.escape(FILTER_ARGUMENT_SEPARATOR), |
