Which sequence finds the first phone-number match and retrieves its text?
Compile the pattern, call search() on the string, then call group() on the returned match.
search()
group()
Call re.compile() and use its return value directly as the matched substring.
re.compile()
Call group() on the pattern first, then use search() on the resulting string.
Call search() and treat its result as a newly compiled regex pattern.