Capturing group and its similarity with DFA
Capturing group
and its similarity with DFA