Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC

Function regexp

regexp aRegexp aString

Finds all matches of a regular expression in a string.

Parameters:
aRegexp - A regular expression object or a string representing a regular expression.
aString - The string object against which the regular expression will be matched.
Returns:
A list where each element represents a match.

Each match in the returned list is represented as a list of strings. The first element is the matched portion. The following elements are the portions matching the parenthesized sets in the regular expression pattern.

Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009