re.match.re
  • References/Python/Python/Text Processing

match.re The regular expression object whose match() or search() method produced this match instance

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

get_field(field_name, args, kwargs) Given field_name as returned by parse() (see above), convert it to

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

substitute(mapping, **kwds) Performs the template substitution, returning a new string. mapping is any dictionary-like

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

lineno The line corresponding to pos.

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

fill(text) Wraps the single paragraph in text, and returns a single string containing the wrapped paragraph.

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

class textwrap.TextWrapper(**kwargs) The TextWrapper constructor accepts a number of optional keyword arguments

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

stringprep.in_table_c5(code) Determine whether code is in tableC.5 (Surrogate codes).

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