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

re.fullmatch(pattern, string, flags=0) If the whole string matches the regular expression pattern, return

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

stringprep.in_table_c22(code) Determine whether code is in tableC.2.2 (Non-ASCII control characters).

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

unicodedata.east_asian_width(chr) Returns the east asian width assigned to the character chr as string.

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

difflib.IS_LINE_JUNK(line) Return true for ignorable lines. The line line is ignorable if line is blank or

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

string.punctuation String of ASCII characters which are considered punctuation characters in the C locale.

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

readline.clear_history() Clear the current history. This calls clear_history() in the underlying library. The Python

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

readline.remove_history_item(pos) Remove history item specified by its position from the history. The position is zero-based

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