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

set_seq1(a) Set the first sequence to be compared. The second sequence to be compared is not changed.

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.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
re.match.lastindex
  • References/Python/Python/Text Processing

match.lastindex The integer index of the last matched capturing group, or None if no group was matched at all.

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

re.subn(pattern, repl, string, count=0, flags=0) Perform the same operation as sub(), but return a tuple (new_string

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

readline.insert_text(string) Insert text into the line buffer at the cursor position. This calls rl_insert_text()

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