1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Removed unused unencoded_ampersands_re regex.

Unused since 8b81dee60c.
This commit is contained in:
Baptiste Mispelon 2019-11-25 09:01:31 +01:00 committed by Mariusz Felisiak
parent a69c4d626a
commit 824981b2dc

View File

@ -22,7 +22,6 @@ WRAPPING_PUNCTUATION = [('(', ')'), ('[', ']')]
# List of possible strings used for bullets in bulleted lists.
DOTS = ['·', '*', '\u2022', '•', '•', '•']
unencoded_ampersands_re = _lazy_re_compile(r'&(?!(\w+|#\d+);)')
word_split_re = _lazy_re_compile(r'''([\s<>"']+)''')
simple_url_re = _lazy_re_compile(r'^https?://\[?\w', re.IGNORECASE)
simple_url_2_re = _lazy_re_compile(