Python Text & Regex
Text & Regex — Regular expressions, text wrapping, diff, unicode, HTML, XML. This group brings together the Regex Module, Textwrap Module, Difflib Module, Unicodedata Module, HTML Module, XML Module categories of the Python standard library. re.search() scans through the string looking for a match to the regex pattern. Returns the first match or None. re.match() checks for a match only at the beginning of the string. re.fullmatch() checks if the entire string matches the regex pattern. re.findall() returns all non-overlapping matches as a list of strings or tuples. re.finditer() returns an iterator yielding Match objects for all non-overlapping matches. Representative APIs from this group include re.search(), re.match(), re.fullmatch(), re.findall(), re.finditer(), re.sub(), re.subn(), re.split(). Each category page in this group lists its functions with syntax, parameters, return values, and runnable examples, so the group works as a map of a whole area of the standard library.