Vidyalelo
Python · Q74

Regular Expressions in Python

Programming · Python · question 74

Q74

The following Python code snippet results in an error. c=re.compile(r'( +)(\[A-Z]+)([a-z]+)') c.groupindex

The following Python code snippet results in an error.
c=re.compile(r'(\d+)(\[A-Z]+)([a-z]+)')
c.groupindex
A.
True
B.
False
Answer

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board