Saved Bookmarks
| 1. |
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» Correct answer is (b) re.compile.groupindex Best explanation: The function re.compile.groupindex returns a dictionary mapping group names to group numbers. |
|