What will be the output of the code below?
import re
string = 'No regrets no regrets'
pattern = 'no regrets'
matches = re.match(pattern, string, re.IGNORECASE)
print(matches)What will be the output of the code below?
import re
string = 'No regrets no regrets'
pattern = 'no regrets'
matches = re.match(pattern, string, re.IGNORECASE)
print(matches)Create a free account to access the full topic