re.match.end()
  • References/Python/Python/Text Processing

match.end([group]) Return the indices of the start and end of the substring matched by group; group defaults

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

textwrap.dedent(text) Remove any common leading whitespace from every line in text. This

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

readline.parse_and_bind(string) Execute the init line provided in the string argument. This calls rl_parse_and_bind()

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

break_long_words (default: True) If true, then words longer than width will be broken in order to

2025-01-10 15:47:30
string.ascii_uppercase
  • References/Python/Python/Text Processing

string.ascii_uppercase The uppercase letters 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. This value is not locale-dependent and

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

get_matching_blocks() Return list of triples describing matching subsequences. Each triple is of the form (i, j, n)

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

unicodedata.mirrored(chr) Returns the mirrored property assigned to the character chr as integer. Returns 1

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

quick_ratio() Return an upper bound on ratio() relatively quickly.

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

readline.set_completer_delims(string) readline.get_completer_delims() Set or get the word delimiters for completion

2025-01-10 15:47:30
string.ascii_letters
  • References/Python/Python/Text Processing

string.ascii_letters The concatenation of the ascii_lowercase and ascii_uppercase constants described

2025-01-10 15:47:30