Home | History | Annotate | Download | only in python2.7

Lines Matching refs:match

109 # exception raised when downloaded size does not match content-length
281 # raise exception if actual size does not match content-length header
686 match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
687 if not match:
690 scheme, realm = match.groups()
708 match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
709 if not match:
712 scheme, realm = match.groups()
1071 match = _typeprog.match(url)
1072 if match:
1073 scheme = match.group(1)
1085 match = _hostprog.match(url)
1086 if match:
1087 host_port = match.group(1)
1088 path = match.group(2)
1102 match = _userprog.match(host)
1103 if match: return match.group(1, 2)
1114 match = _passwdprog.match(user)
1115 if match: return match.group(1, 2)
1127 match = _portprog.match(host)
1128 if match: return match.group(1, 2)
1142 match = _nportprog.match(host)
1143 if match:
1144 host, port = match.group(1, 2)
1161 match = _queryprog.match(url)
1162 if match: return match.group(1, 2)
1173 match = _tagprog.match(url)
1174 if match: return match.group(1, 2)
1191 match = _valueprog.match(attr)
1192 if match: return match.group(1, 2)
1298 parameters in the output will match the order of parameters in the
1428 m = re.match(r"(\d+(?:\.\d+)*)(/\d+)?", value)
1499 if not re.match('^([^/:]+)://', address):
1565 # now check if we match one of the registry values.
1575 if re.match(test, val, re.I):