I have this test text:
cake/app/webroot/js/compiled/shop.js
cake/app/webroot/js/compiled/shop.min.js
cake/app/webroot/js/good/thing.js
When I try this:
/^(?!.*compiled)(?!.*min).*$/
It doesn't match anything. But when I add:
/^.*
to the beginning, it matches something on each line. (I only want the last line matched.)
What am I missing?