Do not return pattern but regex object