Fixed error reference to /string/ instead of /#{string}/
Added ignore and enforce on resource matching, fleshed out public method test coverage.