Home | Trees | Indices | Help |
|
---|
|
object --+ | list --+ | UnorderedList --+ | RegexMatchList
Class representing a list containing only strings that match a regular expression.
If emptyAllowed
is passed in as False
, then
empty strings are explicitly disallowed, even if they happen to match the
regular expression. (None
values are always disallowed,
since string operations are not permitted on None
.)
This is an unordered list.
We override the append
, insert
and
extend
methods to ensure that any item added to the list
matches the indicated regular expression.
Note: If you try to put values that are not strings into the list, you will likely get either TypeError or AttributeError exceptions as a result.
|
|||
new empty list |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Initializes a list restricted to containing certain values.
|
Overrides the standard
|
Overrides the standard
|
Overrides the standard
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Oct 7 20:31:34 2014 | http://epydoc.sourceforge.net |