def scan(pattern, string, *args, **kwargs):
    return compile(pattern, *args, **kwargs).scan(string)
Returns True if pattern.search(Sentence(string)) may yield matches.
dataset/ETHPy150Open clips/pattern/pattern/text/search.py/scan