Home | Trees | Indices | Help |
|
---|
|
object --+ | Validator --+ | IS_MATCH
INPUT(_type='text', _name='name', requires=IS_MATCH('.+'))the argument of IS_MATCH is a regular expression:
>>> IS_MATCH('.+')('hello') ('hello', None) >>> IS_MATCH('.+')('') ('', 'invalid expression')
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Aug 4 00:47:02 2011 | http://epydoc.sourceforge.net |