difflib.SequenceMatcher.get_opcodes()
  • References/Python/Python/Text Processing

get_opcodes() Return list of 5-tuples describing how to turn a into b. Each tuple is of the form (tag

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

string.ascii_lowercase The lowercase letters 'abcdefghijklmnopqrstuvwxyz'. This value is not locale-dependent and

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

unicodedata.combining(chr) Returns the canonical combining class assigned to the character chr as integer. Returns

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
re.regex.search()
  • References/Python/Python/Text Processing

regex.search(string[, pos[, endpos]]) Scan through string looking for the first location where this regular expression

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
readline.set_history_length()
  • References/Python/Python/Text Processing

readline.set_history_length(length) Set or return the desired number of lines to save in the history file. The write_

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

regex.sub(repl, string, count=0) Identical to the sub() function, using the compiled pattern.

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

unicodedata.ucd_3_2_0 This is an object that has the same methods as the entire module, but uses the Unicode database version

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

match.expand(template) Return the string obtained by doing backslash substitution on the template string template,

2025-01-10 15:47:30