adding carrot to group regex