home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.2)
-
- '''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.
- '''
- RE_NO_BK_PARENS = 1
- RE_NO_BK_VBAR = 2
- RE_BK_PLUS_QM = 4
- RE_TIGHT_VBAR = 8
- RE_NEWLINE_OR = 16
- RE_CONTEXT_INDEP_OPS = 32
- RE_ANSI_HEX = 64
- RE_NO_GNU_EXTENSIONS = 128
- RE_SYNTAX_AWK = RE_NO_BK_PARENS | RE_NO_BK_VBAR | RE_CONTEXT_INDEP_OPS
- RE_SYNTAX_EGREP = RE_SYNTAX_AWK | RE_NEWLINE_OR
- RE_SYNTAX_GREP = RE_BK_PLUS_QM | RE_NEWLINE_OR
- RE_SYNTAX_EMACS = 0
-