titus.producer.tools.searchFirst

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

Return a (index, Match) pair or None if there is no match.