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

re.sub(pattern, repl, string, count=0, flags=0) Return the string obtained by replacing the leftmost non-overlapping occurrences

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

stringprep.in_table_d1(code) Determine whether code is in tableD.1 (Characters with bidirectional property “R” or “AL”)

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

fix_sentence_endings (default: False) If true, TextWrapper attempts to detect sentence endings and

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

string.digits The string '0123456789'.

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

readline.set_pre_input_hook([function]) Set or remove the function invoked by the rl_pre_input_hook callback of

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

string.capwords(s, sep=None) Split the argument into words using

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

exception re.error(msg, pattern=None, pos=None) Exception raised when a string passed to one of the functions here is not a

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

expand_tabs (default: True) If true, then all tab characters in text will be expanded to spaces using

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

break_on_hyphens (default: True) If true, wrapping will occur preferably on whitespaces and right after hyphens

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

stringprep.in_table_c11(code) Determine whether code is in tableC.1.1 (ASCII space characters).

2025-01-10 15:47:30