I'm sorry, but the provided knowledge sources do not contain specific information on how to implement RegexpCaptureGroups in Ory Oathkeeper or how to pass RegexpCaptureGroups in the Keto API as an object. For detailed instructions, I recommend checking the official Ory documentation or reaching out to the Ory community for further assistance.