added a resource for the regex match