Use last regexp match group rather than first