Log 2869 regex capture groups

Support for named capture groups and associated tests.
Similar comment, return array.