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