compile(pattern, flags=0) |
Compile a regular expression pattern, returning a Pattern object. [extrait de compile.__doc__] |
escape(pattern) |
|
findall(pattern, string, flags=0) |
Return a list of all non-overlapping matches in the string. [extrait de findall.__doc__] |
finditer(pattern, string, flags=0) |
Return an iterator over all non-overlapping matches in the [extrait de finditer.__doc__] |
fullmatch(pattern, string, flags=0) |
Try to apply the pattern to all of the string, returning [extrait de fullmatch.__doc__] |
match(pattern, string, flags=0) |
Try to apply the pattern at the start of the string, returning [extrait de match.__doc__] |
purge() |
Clear the regular expression caches [extrait de purge.__doc__] |
search(pattern, string, flags=0) |
Scan through string looking for a match to the pattern, returning [extrait de search.__doc__] |
split(pattern, string, maxsplit=0, flags=0) |
Split the source string by the occurrences of the pattern, [extrait de split.__doc__] |
sub(pattern, repl, string, count=0, flags=0) |
Return the string obtained by replacing the leftmost [extrait de sub.__doc__] |
subn(pattern, repl, string, count=0, flags=0) |
Return a 2-tuple containing (new_string, number). [extrait de subn.__doc__] |
template(pattern, flags=0) |
Compile a template pattern, returning a Pattern object, deprecated [extrait de template.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :