stringprep.in_table_c21_c22()
  • References/Python/Python/Text Processing

stringprep.in_table_c21_c22(code) Determine whether code is in tableC.2 (Control characters, union of C.2.1 and C.2

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

regex.pattern The pattern string from which the RE object was compiled.

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

width (default: 70) The maximum length of wrapped lines. As long as there are no individual words in the input

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

readline.read_init_file([filename]) Execute a readline initialization file. The default filename is the last filename used.

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
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
difflib.SequenceMatcher.get_grouped_opcodes()
  • References/Python/Python/Text Processing

get_grouped_opcodes(n=3) Return a generator of groups with up to n lines of

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.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.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