Lines Matching refs:match

1273                 match = set_match(line)
1274 if match:
1275 name, val = match.groups()
1314 match = _conf_string_match(val)
1315 if not match:
1322 val = unescape(match.group(1))
1325 match = unset_match(line)
1326 if not match:
1338 name = match.group(1)
1862 match = self._set_match(line)
1863 if not match:
1868 name, val = match.groups()
1873 match = _conf_string_match(val)
1874 if not match:
1876 val = unescape(match.group(1))
2350 match = _command_match(s)
2351 if not match:
2358 token = _get_keyword(match.group(1))
2376 i = match.end()
2382 match = _id_keyword_match(s, i)
2383 if match:
2390 name = match.group(1)
2396 i = match.end()
2407 i = match.end()
2431 i = match.end()
2703 match = _name_special_search(s, i)
2705 if match.group() != "$(":
2706 return (s, match.start())
2707 s, i = self._expand_macro(s, match.start(), ())
2719 match = _string_special_search(s, i)
2720 if not match:
2724 if match.group() == quote:
2726 return (s, match.end())
2728 elif match.group() == "\\":
2731 i = match.end()
2732 s = s[:match.start()] + s[i:]
2734 elif match.group() == "$(":
2736 s, i = self._expand_macro(s, match.start(), ())
2758 match = _macro_special_search(s, i)
2759 if not match:
2763 if match.group() == "(":
2765 i = match.end()
2767 elif match.group() == ")":
2770 i = match.end()
2775 new_args.append(s[arg_start:match.start()])
2789 return (res + s[match.end():], len(res))
2791 elif match.group() == ",":
2792 i = match.end()
2797 new_args.append(s[arg_start:match.start()])
2802 s, i = self._expand_macro(s, match.start(), args)
7116 return re.compile(regex, 0 if _IS_PY2 else re.ASCII).match