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 theappend
, 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.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
append method.
|
insert method.
|
insert method.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sat Nov 15 12:17:02 2008 | http://epydoc.sourceforge.net |