Add ability to configure origins using a regular expression