def match(pattern, sentence, *args, **kwargs):
    return compile(pattern, *args, **kwargs).match(sentence)
Returns the first match found in the given sentence, or None.
dataset/ETHPy150Open clips/pattern/pattern/text/search.py/match