Find all capture groups in RegExp source. All forms of None-capture groups are ignored. name of named capture group will be captured by the name "name" which is group[2].