Add list of compiled regexps to /rest/ignores (fixes #942)