ExpectPy module
Variables
- re_type
- the built-in regular expression
support,
the name of the module being imported: re or tclre
- user_spawn_id
- unspawn object connected to standard input/output
- error_spawn_id
- unspawn object connected to standard error
- tty_spawn_id
- unspawn object connected to /dev/tty
- __version__
- version number (string)
Expect clause constants
- END
- signals the end of the expect clauses
- GLOB
- perform glob matching
- EXACT
- perform exact matching
- REGEXP
- perform regular expression matching,
given a string pattern
- COMPILED
- perform regular expression matching,
given a compiled pattern
- NULL
- match on a null character
- settings
- allow changes to Expect variables
Functions
Optionals
If either PCRE or TclRE are compiled into ExpectPy,
then the function "compile" will
the same method as in the appropriate module, re or tclre.