Which Of The Codes Shown Below Results In A Match #990
Which of the codes shown below results in a match?
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Regular Expressions - Python Regular Expressions - Quiz No.5.
Which of the codes shown below results in a match?
re.match(‘George(?=Washington)’, ‘George Washington’)
re.match(‘George(?=Washington)’, ‘George’)
re.match(‘George(?=Washington)’, ‘GeorgeWashington’)
re.match(‘George(?=Washington)’, ‘Georgewashington’)