Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Data Structures | |
class | error |
Functions | |
def | makedict |
def | dump |
Variables | |
int | MAGIC = 20010701 |
int | MAXREPEAT = 65535 |
string | FAILURE = "failure" |
string | SUCCESS = "success" |
string | ANY = "any" |
string | ANY_ALL = "any_all" |
string | ASSERT = "assert" |
string | ASSERT_NOT = "assert_not" |
string | AT = "at" |
string | BIGCHARSET = "bigcharset" |
string | BRANCH = "branch" |
string | CALL = "call" |
string | CATEGORY = "category" |
string | CHARSET = "charset" |
string | GROUPREF = "groupref" |
string | GROUPREF_IGNORE = "groupref_ignore" |
string | IN = "in" |
string | IN_IGNORE = "in_ignore" |
string | INFO = "info" |
string | JUMP = "jump" |
string | LITERAL = "literal" |
string | LITERAL_IGNORE = "literal_ignore" |
string | MARK = "mark" |
string | MAX_REPEAT = "max_repeat" |
string | MAX_UNTIL = "max_until" |
string | MIN_REPEAT = "min_repeat" |
string | MIN_UNTIL = "min_until" |
string | NEGATE = "negate" |
string | NOT_LITERAL = "not_literal" |
string | NOT_LITERAL_IGNORE = "not_literal_ignore" |
string | RANGE = "range" |
string | REPEAT = "repeat" |
string | REPEAT_ONE = "repeat_one" |
string | SUBPATTERN = "subpattern" |
string | AT_BEGINNING = "at_beginning" |
string | AT_BEGINNING_LINE = "at_beginning_line" |
string | AT_BEGINNING_STRING = "at_beginning_string" |
string | AT_BOUNDARY = "at_boundary" |
string | AT_NON_BOUNDARY = "at_non_boundary" |
string | AT_END = "at_end" |
string | AT_END_LINE = "at_end_line" |
string | AT_END_STRING = "at_end_string" |
string | AT_LOC_BOUNDARY = "at_loc_boundary" |
string | AT_LOC_NON_BOUNDARY = "at_loc_non_boundary" |
string | AT_UNI_BOUNDARY = "at_uni_boundary" |
string | AT_UNI_NON_BOUNDARY = "at_uni_non_boundary" |
string | CATEGORY_DIGIT = "category_digit" |
string | CATEGORY_NOT_DIGIT = "category_not_digit" |
string | CATEGORY_SPACE = "category_space" |
string | CATEGORY_NOT_SPACE = "category_not_space" |
string | CATEGORY_WORD = "category_word" |
string | CATEGORY_NOT_WORD = "category_not_word" |
string | CATEGORY_LINEBREAK = "category_linebreak" |
string | CATEGORY_NOT_LINEBREAK = "category_not_linebreak" |
string | CATEGORY_LOC_WORD = "category_loc_word" |
string | CATEGORY_LOC_NOT_WORD = "category_loc_not_word" |
string | CATEGORY_UNI_DIGIT = "category_uni_digit" |
string | CATEGORY_UNI_NOT_DIGIT = "category_uni_not_digit" |
string | CATEGORY_UNI_SPACE = "category_uni_space" |
string | CATEGORY_UNI_NOT_SPACE = "category_uni_not_space" |
string | CATEGORY_UNI_WORD = "category_uni_word" |
string | CATEGORY_UNI_NOT_WORD = "category_uni_not_word" |
string | CATEGORY_UNI_LINEBREAK = "category_uni_linebreak" |
string | CATEGORY_UNI_NOT_LINEBREAK = "category_uni_not_linebreak" |
list | OPCODES |
list | ATCODES |
list | CHCODES |
dictionary | OP_IGNORE |
dictionary | AT_MULTILINE |
dictionary | AT_LOCALE |
dictionary | AT_UNICODE |
dictionary | CH_LOCALE |
dictionary | CH_UNICODE |
int | SRE_FLAG_TEMPLATE = 1 |
int | SRE_FLAG_IGNORECASE = 2 |
int | SRE_FLAG_LOCALE = 4 |
int | SRE_FLAG_MULTILINE = 8 |
int | SRE_FLAG_DOTALL = 16 |
int | SRE_FLAG_UNICODE = 32 |
int | SRE_FLAG_VERBOSE = 64 |
int | SRE_FLAG_DEBUG = 128 |
int | SRE_INFO_PREFIX = 1 |
int | SRE_INFO_LITERAL = 2 |
int | SRE_INFO_CHARSET = 4 |
tuple | f = open("sre_constants.h", "w") |
def sre_constants.dump | ( | f, | |
d, | |||
prefix | |||
) |
Definition at line 218 of file sre_constants.py.
References filecmp.cmp(), and string.upper().
def sre_constants.makedict | ( | list) |
Definition at line 144 of file sre_constants.py.
string ANY = "any" |
Definition at line 33 of file sre_constants.py.
string ANY_ALL = "any_all" |
Definition at line 34 of file sre_constants.py.
string ASSERT = "assert" |
Definition at line 35 of file sre_constants.py.
string ASSERT_NOT = "assert_not" |
Definition at line 36 of file sre_constants.py.
string AT = "at" |
Definition at line 37 of file sre_constants.py.
string AT_BEGINNING = "at_beginning" |
Definition at line 65 of file sre_constants.py.
string AT_BEGINNING_LINE = "at_beginning_line" |
Definition at line 66 of file sre_constants.py.
string AT_BEGINNING_STRING = "at_beginning_string" |
Definition at line 67 of file sre_constants.py.
string AT_BOUNDARY = "at_boundary" |
Definition at line 68 of file sre_constants.py.
string AT_END = "at_end" |
Definition at line 70 of file sre_constants.py.
string AT_END_LINE = "at_end_line" |
Definition at line 71 of file sre_constants.py.
string AT_END_STRING = "at_end_string" |
Definition at line 72 of file sre_constants.py.
string AT_LOC_BOUNDARY = "at_loc_boundary" |
Definition at line 73 of file sre_constants.py.
string AT_LOC_NON_BOUNDARY = "at_loc_non_boundary" |
Definition at line 74 of file sre_constants.py.
dictionary AT_LOCALE |
Definition at line 169 of file sre_constants.py.
dictionary AT_MULTILINE |
Definition at line 164 of file sre_constants.py.
string AT_NON_BOUNDARY = "at_non_boundary" |
Definition at line 69 of file sre_constants.py.
string AT_UNI_BOUNDARY = "at_uni_boundary" |
Definition at line 75 of file sre_constants.py.
string AT_UNI_NON_BOUNDARY = "at_uni_non_boundary" |
Definition at line 76 of file sre_constants.py.
dictionary AT_UNICODE |
Definition at line 174 of file sre_constants.py.
tuple ATCODES |
Definition at line 127 of file sre_constants.py.
string BIGCHARSET = "bigcharset" |
Definition at line 38 of file sre_constants.py.
string BRANCH = "branch" |
Definition at line 39 of file sre_constants.py.
string CALL = "call" |
Definition at line 40 of file sre_constants.py.
string CATEGORY = "category" |
Definition at line 41 of file sre_constants.py.
string CATEGORY_DIGIT = "category_digit" |
Definition at line 79 of file sre_constants.py.
string CATEGORY_LINEBREAK = "category_linebreak" |
Definition at line 85 of file sre_constants.py.
string CATEGORY_LOC_NOT_WORD = "category_loc_not_word" |
Definition at line 88 of file sre_constants.py.
string CATEGORY_LOC_WORD = "category_loc_word" |
Definition at line 87 of file sre_constants.py.
string CATEGORY_NOT_DIGIT = "category_not_digit" |
Definition at line 80 of file sre_constants.py.
string CATEGORY_NOT_LINEBREAK = "category_not_linebreak" |
Definition at line 86 of file sre_constants.py.
string CATEGORY_NOT_SPACE = "category_not_space" |
Definition at line 82 of file sre_constants.py.
string CATEGORY_NOT_WORD = "category_not_word" |
Definition at line 84 of file sre_constants.py.
string CATEGORY_SPACE = "category_space" |
Definition at line 81 of file sre_constants.py.
string CATEGORY_UNI_DIGIT = "category_uni_digit" |
Definition at line 89 of file sre_constants.py.
string CATEGORY_UNI_LINEBREAK = "category_uni_linebreak" |
Definition at line 95 of file sre_constants.py.
string CATEGORY_UNI_NOT_DIGIT = "category_uni_not_digit" |
Definition at line 90 of file sre_constants.py.
string CATEGORY_UNI_NOT_LINEBREAK = "category_uni_not_linebreak" |
Definition at line 96 of file sre_constants.py.
string CATEGORY_UNI_NOT_SPACE = "category_uni_not_space" |
Definition at line 92 of file sre_constants.py.
string CATEGORY_UNI_NOT_WORD = "category_uni_not_word" |
Definition at line 94 of file sre_constants.py.
string CATEGORY_UNI_SPACE = "category_uni_space" |
Definition at line 91 of file sre_constants.py.
string CATEGORY_UNI_WORD = "category_uni_word" |
Definition at line 93 of file sre_constants.py.
string CATEGORY_WORD = "category_word" |
Definition at line 83 of file sre_constants.py.
dictionary CH_LOCALE |
Definition at line 179 of file sre_constants.py.
dictionary CH_UNICODE |
Definition at line 190 of file sre_constants.py.
string CHARSET = "charset" |
Definition at line 42 of file sre_constants.py.
tuple CHCODES |
Definition at line 134 of file sre_constants.py.
tuple f = open("sre_constants.h", "w") |
Definition at line 223 of file sre_constants.py.
string FAILURE = "failure" |
Definition at line 30 of file sre_constants.py.
string GROUPREF = "groupref" |
Definition at line 43 of file sre_constants.py.
string GROUPREF_IGNORE = "groupref_ignore" |
Definition at line 44 of file sre_constants.py.
string IN = "in" |
Definition at line 45 of file sre_constants.py.
string IN_IGNORE = "in_ignore" |
Definition at line 46 of file sre_constants.py.
string INFO = "info" |
Definition at line 47 of file sre_constants.py.
string JUMP = "jump" |
Definition at line 48 of file sre_constants.py.
string LITERAL = "literal" |
Definition at line 49 of file sre_constants.py.
string LITERAL_IGNORE = "literal_ignore" |
Definition at line 50 of file sre_constants.py.
int MAGIC = 20010701 |
Definition at line 16 of file sre_constants.py.
string MARK = "mark" |
Definition at line 51 of file sre_constants.py.
string MAX_REPEAT = "max_repeat" |
Definition at line 52 of file sre_constants.py.
string MAX_UNTIL = "max_until" |
Definition at line 53 of file sre_constants.py.
int MAXREPEAT = 65535 |
Definition at line 20 of file sre_constants.py.
string MIN_REPEAT = "min_repeat" |
Definition at line 54 of file sre_constants.py.
string MIN_UNTIL = "min_until" |
Definition at line 55 of file sre_constants.py.
string NEGATE = "negate" |
Definition at line 56 of file sre_constants.py.
string NOT_LITERAL = "not_literal" |
Definition at line 57 of file sre_constants.py.
string NOT_LITERAL_IGNORE = "not_literal_ignore" |
Definition at line 58 of file sre_constants.py.
dictionary OP_IGNORE |
Definition at line 157 of file sre_constants.py.
tuple OPCODES |
string RANGE = "range" |
Definition at line 59 of file sre_constants.py.
string REPEAT = "repeat" |
Definition at line 60 of file sre_constants.py.
string REPEAT_ONE = "repeat_one" |
Definition at line 61 of file sre_constants.py.
int SRE_FLAG_DEBUG = 128 |
Definition at line 209 of file sre_constants.py.
int SRE_FLAG_DOTALL = 16 |
Definition at line 206 of file sre_constants.py.
int SRE_FLAG_IGNORECASE = 2 |
Definition at line 203 of file sre_constants.py.
int SRE_FLAG_LOCALE = 4 |
Definition at line 204 of file sre_constants.py.
int SRE_FLAG_MULTILINE = 8 |
Definition at line 205 of file sre_constants.py.
int SRE_FLAG_TEMPLATE = 1 |
Definition at line 202 of file sre_constants.py.
int SRE_FLAG_UNICODE = 32 |
Definition at line 207 of file sre_constants.py.
int SRE_FLAG_VERBOSE = 64 |
Definition at line 208 of file sre_constants.py.
int SRE_INFO_CHARSET = 4 |
Definition at line 214 of file sre_constants.py.
int SRE_INFO_LITERAL = 2 |
Definition at line 213 of file sre_constants.py.
int SRE_INFO_PREFIX = 1 |
Definition at line 212 of file sre_constants.py.
string SUBPATTERN = "subpattern" |
Definition at line 62 of file sre_constants.py.
string SUCCESS = "success" |
Definition at line 31 of file sre_constants.py.