Home | Trees | Indices | Help |
|
---|
|
A couple 'tag:value' of an OBOEntry.
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_match_value = re.compile(r'
|
|||
_split_comment = re.compile(r'^!
|
|||
_match_quotedString = re.compile(r'
|
|||
_match_bracket = re.compile(r'\[
|
|
|||
Inherited from |
|
Constructor of the class TaggedValue.
Note: The constructor separates tags from right terms. 'value' is extracted from right terms using a regular expression (value is at the beginning of the string, between quotes or not). Then, 'comment' is extracted from the rest of the string using another regular expression ('comment' is at the end of the string after a '!'. By default, 'comment' is set to None). Finally, 'trailing_modifiers' are extracted from the last string using another regular expression. The tag, the value, the comment and the trailing_modifiers are saved. |
str(x)
|
repr(x)
|
|
_match_value
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 22 10:48:36 2009 | http://epydoc.sourceforge.net |