Examveda

Which of the following functions returns a dictionary mapping group names to group numbers?

A. re.compile.group

B. re.compile.groupindex

C. re.compile.index

D. re.compile.indexgroup

Answer: Option B


This Question Belongs to Python Program >> Regular Expressions In Python

Join The Discussion

Related Questions on Regular Expressions in Python