mpl.mathtext.ParserElement.searchString

ParserElement.searchString(instring, maxMatches=9223372036854775807)[source]

Another extension to C{L{scanString}}, simplifying the access to the tokens found to match the given parse expression. May be called with optional C{maxMatches} argument, to clip searching after ‘n’ matches are found.