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

Go to the source code of this file.

Data Structures

class  Error
 

Namespaces

 xmllib
 

Constant Groups

 xmllib
 

Variables

string version = '0.3'
 
string _S = '[ \t\r\n]+'
 
string _opS = '[ \t\r\n]*'
 
string _Name = '[a-zA-Z_:][-a-zA-Z0-9._:]*'
 
string _QStr = "(?:'[^']*'|\"[^\"]*\")"
 
tuple illegal = re.compile('[^\t\r\n -\176\240-\377]')
 
tuple interesting = re.compile('[]&<]')
 
tuple amp = re.compile('&')
 
tuple ref = re.compile('&(' + _Name + '|#[0-9]+|#x[0-9a-fA-F]+)[^-a-zA-Z0-9._:]')
 
tuple entityref = re.compile('&(?P<name>' + _Name + ')[^-a-zA-Z0-9._:]')
 
tuple charref = re.compile('&#(?P<char>[0-9]+[^0-9]|x[0-9a-fA-F]+[^0-9a-fA-F])')
 
tuple space = re.compile(_S + '$')
 
tuple newline = re.compile('\n')
 
tuple attrfind
 
tuple starttagopen = re.compile('<' + _Name)
 
tuple starttagend = re.compile(_opS + '(?P<slash>/?)>')
 
tuple starttagmatch
 
tuple endtagopen = re.compile('</')
 
tuple endbracket = re.compile(_opS + '>')