Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
regex_syntax Namespace Reference

Variables

int RE_NO_BK_PARENS = 1
 
int RE_NO_BK_VBAR = 2
 
int RE_BK_PLUS_QM = 4
 
int RE_TIGHT_VBAR = 8
 
int RE_NEWLINE_OR = 16
 
int RE_CONTEXT_INDEP_OPS = 32
 
int RE_ANSI_HEX = 64
 
int RE_NO_GNU_EXTENSIONS = 128
 
tuple RE_SYNTAX_AWK = (RE_NO_BK_PARENS | RE_NO_BK_VBAR | RE_CONTEXT_INDEP_OPS)
 
tuple RE_SYNTAX_EGREP = (RE_SYNTAX_AWK | RE_NEWLINE_OR)
 
tuple RE_SYNTAX_GREP = (RE_BK_PLUS_QM | RE_NEWLINE_OR)
 
int RE_SYNTAX_EMACS = 0
 

Detailed Description

Constants for selecting regexp syntaxes for the obsolete regex module.

This module is only for backward compatibility.  "regex" has now
been replaced by the new regular expression module, "re".

These bits are passed to regex.set_syntax() to choose among
alternative regexp syntaxes.

Variable Documentation

int RE_ANSI_HEX = 64

Definition at line 42 of file regex_syntax.py.

int RE_BK_PLUS_QM = 4

Definition at line 22 of file regex_syntax.py.

int RE_CONTEXT_INDEP_OPS = 32

Definition at line 39 of file regex_syntax.py.

int RE_NEWLINE_OR = 16

Definition at line 30 of file regex_syntax.py.

int RE_NO_BK_PARENS = 1

Definition at line 14 of file regex_syntax.py.

int RE_NO_BK_VBAR = 2

Definition at line 18 of file regex_syntax.py.

int RE_NO_GNU_EXTENSIONS = 128

Definition at line 45 of file regex_syntax.py.

tuple RE_SYNTAX_AWK = (RE_NO_BK_PARENS | RE_NO_BK_VBAR | RE_CONTEXT_INDEP_OPS)

Definition at line 48 of file regex_syntax.py.

tuple RE_SYNTAX_EGREP = (RE_SYNTAX_AWK | RE_NEWLINE_OR)

Definition at line 49 of file regex_syntax.py.

int RE_SYNTAX_EMACS = 0

Definition at line 51 of file regex_syntax.py.

tuple RE_SYNTAX_GREP = (RE_BK_PLUS_QM | RE_NEWLINE_OR)

Definition at line 50 of file regex_syntax.py.

int RE_TIGHT_VBAR = 8

Definition at line 26 of file regex_syntax.py.