Log 2869 regex capture groups

Support for named capture groups and associated tests.
I'm not sure that you need to copy this ArrayList object using the constructor here.