titus.producer.tools.getmatch

titus.producer.tools.getmatch(pattern, haystack)[source]

Generic function to match a regular expression pattern to a haystack expression.