Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Data Structures | |
class | Scanner |
Functions | |
def | match |
def | search |
def | sub |
def | subn |
def | split |
def | findall |
def | finditer |
def | compile |
def | purge |
def | template |
def | escape |
Variables | |
list | __all__ |
string | __version__ = "2.2.1" |
I = sre_compile.SRE_FLAG_IGNORECASE | |
L = sre_compile.SRE_FLAG_LOCALE | |
U = sre_compile.SRE_FLAG_UNICODE | |
M = sre_compile.SRE_FLAG_MULTILINE | |
S = sre_compile.SRE_FLAG_DOTALL | |
X = sre_compile.SRE_FLAG_VERBOSE | |
T = sre_compile.SRE_FLAG_TEMPLATE | |
DEBUG = sre_compile.SRE_FLAG_DEBUG | |
error = sre_compile.error | |
dictionary | _cache = {} |
dictionary | _cache_repl = {} |
tuple | _pattern_type = type(sre_compile.compile("", 0)) |
int | _MAXCACHE = 100 |
def sre.findall | ( | pattern, | |
string | |||
) |
def sre.finditer | ( | pattern, | |
string | |||
) |
Return an iterator over all non-overlapping matches in the string. For each match, the iterator returns a match object. Empty matches are included in the result.
def sre.match | ( | pattern, | |
string, | |||
flags = 0 |
|||
) |
Try to apply the pattern at the start of the string, returning a match object, or None if no match was found.
def sre.purge | ( | ) |
def sre.search | ( | pattern, | |
string, | |||
flags = 0 |
|||
) |
Scan through string looking for a match to the pattern, returning a match object, or None if no match was found.
def sre.split | ( | pattern, | |
string, | |||
maxsplit = 0 |
|||
) |
Split the source string by the occurrences of the pattern, returning a list containing the resulting substrings.
def sre.sub | ( | pattern, | |
repl, | |||
string, | |||
count = 0 |
|||
) |
Return the string obtained by replacing the leftmost non-overlapping occurrences of the pattern in string by the replacement repl
def sre.subn | ( | pattern, | |
repl, | |||
string, | |||
count = 0 |
|||
) |
def sre.template | ( | pattern, | |
flags = 0 |
|||
) |
list __all__ |
tuple _pattern_type = type(sre_compile.compile("", 0)) |
error = sre_compile.error |