re.match.string
  • References/Python/Python/Text Processing

match.string The string passed to match() or search().

2025-01-10 15:47:30
textwrap.TextWrapper.subsequent_indent
  • References/Python/Python/Text Processing

subsequent_indent (default: '') String that will be prepended to all lines of wrapped output except the first.

2025-01-10 15:47:30
string.Formatter.format()
  • References/Python/Python/Text Processing

format(format_string, *args, **kwargs) The primary API method. It takes a format string and an arbitrary set of positional and

2025-01-10 15:47:30
difflib.SequenceMatcher
  • References/Python/Python/Text Processing

class difflib.SequenceMatcher This is a flexible class for comparing pairs of sequences of any type, so long as the sequence

2025-01-10 15:47:30
stringprep.map_table_b2()
  • References/Python/Python/Text Processing

stringprep.map_table_b2(code) Return the mapped value for code according to tableB.2 (Mapping for case-folding used

2025-01-10 15:47:30
re.match.span()
  • References/Python/Python/Text Processing

match.span([group]) For a match m, return the 2-tuple (m.start(group), m.end(group)). Note that if group

2025-01-10 15:47:30
re.regex.fullmatch()
  • References/Python/Python/Text Processing

regex.fullmatch(string[, pos[, endpos]]) If the whole string matches this regular expression, return a corresponding

2025-01-10 15:47:30
difflib.get_close_matches()
  • References/Python/Python/Text Processing

difflib.get_close_matches(word, possibilities, n=3, cutoff=0.6) Return a list of the best “good enough” matches. word

2025-01-10 15:47:30
re.regex.flags
  • References/Python/Python/Text Processing

regex.flags The regex matching flags. This is a combination of the flags given to compile(), any (?...)

2025-01-10 15:47:30
re.match()
  • References/Python/Python/Text Processing

re.match(pattern, string, flags=0) If zero or more characters at the beginning of string match the regular expression

2025-01-10 15:47:30