def search(pattern, string, flags=<NUM_LIT:0>):
return _compile(pattern, flags).search(string)<EOL>
Scan through string looking for a match to the pattern, returning
    a match object, or None if no match was found.