Question: In the regex created from r'(ddd)-(ddd-dddd)', what does group 0 cover? Group 1? Group 2?
In the regex created from r'(\d\d\d)-(\d\d\d-\d\d\d\d)', what does group 0 cover? Group 1? Group 2?
Step by Step Solution
3.35 Rating (161 Votes )
There are 3 Steps involved in it
Group 0 is the entire ma... View full answer
Get step-by-step solutions from verified subject matter experts
