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

match.re The regular expression object whose match() or search() method produced this match instance

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

class textwrap.TextWrapper(**kwargs) The TextWrapper constructor accepts a number of optional keyword arguments

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

stringprep.in_table_b1(code) Determine whether code is in tableB.1 (Commonly mapped to nothing).

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

tabsize (default: 8) If expand_tabs is true, then all tab characters in text will be expanded

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

find_longest_match(alo, ahi, blo, bhi) Find longest matching block in a[alo:ahi] and b[blo:bhi].

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

real_quick_ratio() Return an upper bound on ratio() very quickly.

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

re.findall(pattern, string, flags=0) Return all non-overlapping matches of pattern in string, as a list of

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

textwrap.wrap(text, width=70, **kwargs) Wraps the single paragraph in text (a string) so every line is at most width

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

substitute(mapping, **kwds) Performs the template substitution, returning a new string. mapping is any dictionary-like

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

safe_substitute(mapping, **kwds) Like substitute(), except that if placeholders are missing from mapping

2025-01-10 15:47:30