No good reason to expose the RegExp via the API.