Home | Trees | Indices | Help |
|
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Add a parse action to the generic parser. A parse action allows to extract one information from an entry. A parse action is defined by a name and a method to extract this information from the full text entry. A parse action can be defined following two ways.
In the first case, you have to indicate at least the dataMatcher regular pattern. This pattern should match exactly the data part you want to retrieve. If cleanning of extra characters is needed. The second pattern dataCLeanner can be used to specifyed these characters. In the second case you must provide a callable object (function) that extract and clean data from the text entry. This function should return an array containing all data retrevied even if no data or only one data is retrevied.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 22 10:48:33 2009 | http://epydoc.sourceforge.net |