titus.producer.tools.findRef

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

Return a reference to the matching subexpression within the original structure (for in-place modifications) or None if there is no match.