Page 1 of 1

Which of the following statements regarding the output of the function re.match is incorrect?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) ‘pq*’ will match ‘pq’
b) ‘pq?’ matches ‘p’
c) ‘p{4}, q’ does not match ‘pppq’
d) ‘pq+’ matches ‘p’