re.search()
  • References/Python/Python/Text Processing

re.search(pattern, string, flags=0) Scan through string looking for the first location where the regular expression

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

unicodedata.numeric(chr[, default]) Returns the numeric value assigned to the character chr as float. If no such value

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

readline.set_completer([function]) Set or remove the completer function. If function is specified, it will be used

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

regex.groupindex A dictionary mapping any symbolic group names defined by (?P<id>) to group numbers. The

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

readline.write_history_file([filename]) Save the history list to a readline history file, overwriting any existing file. The

2025-01-10 15:47:30
difflib.HtmlDiff.
  • References/Python/Python/Text Processing

__init__(tabsize=8, wrapcolumn=None, linejunk=None, charjunk=IS_CHARACTER_JUNK) Initializes instance of HtmlDiff

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

readline.set_completion_display_matches_hook([function]) Set or remove the completion display function. If function

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