titus.producer.tools.index

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

Return an index or None if there is no match.