mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
improved CRLF regex for previous fix
This commit is contained in:
parent
47404fffff
commit
533366beb0
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ InternalDate = re.compile(r'.*INTERNALDATE "'
|
||||||
r' (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])'
|
r' (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])'
|
||||||
r'"')
|
r'"')
|
||||||
Literal = re.compile(r'.*{(?P<size>\d+)}$')
|
Literal = re.compile(r'.*{(?P<size>\d+)}$')
|
||||||
MapCRLF = re.compile(r'(?:\r\n|\n|\r(?!\n))')
|
MapCRLF = re.compile(r'\r\n|\r|\n')
|
||||||
Response_code = re.compile(r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]')
|
Response_code = re.compile(r'\[(?P<type>[A-Z-]+)( (?P<data>[^\]]*))?\]')
|
||||||
Untagged_response = re.compile(r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?')
|
Untagged_response = re.compile(r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?')
|
||||||
Untagged_status = re.compile(r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?')
|
Untagged_status = re.compile(r'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue