build_regexp(definition, compile=1)
Build, compile and return a regular expression based on definition.
Parameter: | definition: a 4-tuple (group name, prefix, suffix, parts), where "parts" is a list of regular expressions and/or regular expression definitions to be joined into an or-group. |
---|