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

Which of the following statements regarding the output of the function re.match is incorrect? Correct Answer ‘pq+’ matches ‘p’

All of the above statements are correct except that ‘pq+’ match ‘p’. ‘pq+’ will match ‘p’ followed by any non-zero number of q’s, but it will not match ‘p’.

Related Questions

What is the output after compile and run the following code ? int Output = 10;
boolean b = false;
if((b == true) && ((Output += 10) == 20))
{
System.out.println("We are equal " + Output);
}
else
{
System.out.println("Not equal! " + Output);
}