Page 1 of 1

Which of the codes shown below results in a match?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) re.match(‘George(?=Washington)’, ‘George Washington’)
b) re.match(‘George(?=Washington)’, ‘George’)
c) re.match(‘George(?=Washington)’, ‘GeorgeWashington’)
d) re.match(‘George(?=Washington)’, ‘Georgewashington’)