mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Refs #30686 -- Removed unused regexes in django.utils.text.
Unused since 6ee37ada32
.
This commit is contained in:
parent
8db593de05
commit
3cadeea077
@ -32,9 +32,6 @@ def capfirst(x):
|
||||
|
||||
|
||||
# Set up regular expressions
|
||||
re_words = _lazy_re_compile(r"<[^>]+?>|([^<>\s]+)", re.S)
|
||||
re_chars = _lazy_re_compile(r"<[^>]+?>|(.)", re.S)
|
||||
re_tag = _lazy_re_compile(r"<(/)?(\S+?)(?:(\s*/)|\s.*?)?>", re.S)
|
||||
re_newlines = _lazy_re_compile(r"\r\n|\r") # Used in normalize_newlines
|
||||
re_camel_case = _lazy_re_compile(r"(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user