fmeobjects.FMERegex.match

FMERegex.match(inputString)

If zero or more characters at the beginning of string match this regular expression, return a corresponding match tuple.

Parameters:

inputString (str) – Input string to match.

Return type:

tuple[str, int, int]

Returns:

A match tuple of the form (match, start, end), where match is the string segment matching the regular expression pattern, start is the start index of the string segment, and end is the end index of the string segment. None is returned if a match is not found.