Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
sre_parse.py File Reference

Go to the source code of this file.

Data Structures

class  Pattern
 
class  SubPattern
 
class  Tokenizer
 

Namespaces

 sre_parse
 

Constant Groups

 sre_parse
 

Functions

def isident
 
def isdigit
 
def isname
 
def parse
 
def parse_template
 
def expand_template
 

Variables

string SPECIAL_CHARS = ".\\[{()*+?^$|"
 
string REPEAT_CHARS = "*+?{"
 
tuple DIGITS = tuple("0123456789")
 
tuple OCTDIGITS = tuple("01234567")
 
tuple HEXDIGITS = tuple("0123456789abcdefABCDEF")
 
tuple WHITESPACE = tuple(" \t\n\r\v\f")
 
dictionary ESCAPES
 
dictionary CATEGORIES
 
dictionary FLAGS
 
 atoi = int
 
list start = set[:]
 if source.match(":"): pass # handle character classes More...
 
tuple this = source.get()
 
tuple code1 = _class_escape(source, this)
 
tuple code2 = _class_escape(source, this)
 
list lo = code1[1]
 
list hi = code2[1]
 
tuple here = source.tell()
 
tuple min = atoi(lo)
 
tuple max = atoi(hi)
 
list item = subpattern[-1:]
 
int group = 1
 
 name = None
 
tuple char = source.get()
 
tuple gid = state.groupdict.get(name)
 
int dir = 1
 
tuple p = _parse_sub(source, state)
 
tuple code = _escape(source, this, state)