Overview: IndexHour: Accessor Regular Expression

Detail: IndexHour: Accessor Regular Expression

Detail

IndexHour.via_re(pattern, flags).search(pos, endpos)

Scan through string looking for the first location where this regular expression…

Detail

IndexHour.via_re(pattern, flags).match(pos, endpos)

If zero or more characters at the beginning of string match this regular express…

Detail

IndexHour.via_re(pattern, flags).fullmatch(pos, endpos)

If the whole string matches this regular expression, return True, else False. No…

Detail

IndexHour.via_re(pattern, flags).split(maxsplit)

Split string by the occurrences of pattern. If capturing parentheses are used in…

Detail

IndexHour.via_re(pattern, flags).findall(pos, endpos)

Return all non-overlapping matches of pattern in string, as a tuple of strings….

Detail

IndexHour.via_re(pattern, flags).sub(repl, count)

Return the string obtained by replacing the leftmost non-overlapping occurrences…

Detail

IndexHour.via_re(pattern, flags).subn(repl, count)

Perform the same operation as sub(), but return a tuple (new_string, number_of_s…

IndexHour: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic