Added support to REGEXEXTRACT for grabbing matching groups so that it would be compliant with the Google Docs handling of the method