Adding a third regular expression capture group