Lines Matching defs:match

26 regular expressions; they simply match themselves.  You can
35 Greedy means that it will match as many repetitions as possible.
44 "|" A|B, creates an RE that will match either A or B.
53 (?!...) Matches if ... doesn't match next.
61 resulting RE will match the second character.
69 In string patterns without the ASCII flag, it will match the whole
74 In string patterns without the ASCII flag, it will match the whole
79 In string patterns without the ASCII flag, it will match the
82 With LOCALE, it will match the set [0-9_] plus characters defined
88 match Match a regular expression pattern to the beginning of a string.
95 finditer Return an iterator yielding a Match object for each match.
104 match the corresponding ASCII character categories
131 "match", "fullmatch", "search", "sub", "subn", "split",
149 DOTALL = S = _compiler.SRE_FLAG_DOTALL # make dot match newline
163 def match(pattern, string, flags=0):
165 a Match object, or None if no match was found."""
166 return _compile(pattern, flags).match(string)
170 a Match object, or None if no match was found."""
174 """Scan through string looking for a match to the pattern, returning
175 a Match object, or None if no match was found."""
220 string. For each match, the iterator returns a Match object.
264 Match = type(_compiler.compile('', 0).match(''))
310 def _expand(pattern, match, template):
313 return _parser.expand_template(template, match)
321 def filter(match, template=template):
322 return _parser.expand_template(template, match)
358 match = self.scanner.scanner(string).match
361 m = match()
369 self.match = m