match.group([group1, ...]) Returns one or more subgroups of the match. If there is a single argument, the result is a single
unicodedata.mirrored(chr) Returns the mirrored property assigned to the character chr as integer. Returns 1
difflib.context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\n') Compare a and
re.subn(pattern, repl, string, count=0, flags=0) Perform the same operation as sub(), but return a tuple (new_string
match.end([group]) Return the indices of the start and end of the substring matched by group; group defaults
set_seq2(b) Set the second sequence to be compared. The first sequence to be compared is not changed.
get_value(key, args, kwargs) Retrieve a given field value. The key argument will be either an integer or a string.
regex.subn(repl, string, count=0) Identical to the subn() function, using the compiled pattern.
match.lastgroup The name of the last matched capturing group, or None if the group didn’t have a name, or if no
format_field(value, format_spec) format_field() simply calls the global
Page 8 of 17