fix regex error message parsing (GRegex indexes subgroups, not matches)