in reply to Re^2: Match nothing in grep { ! // }
in thread Match nothing in grep { ! // }

I'm writing a scraper and sometimes I need to exclude some data. ...

Well, that much (your desire) was clear from your original post, but its still not a question :)

If you want to filter based on a regex, and a space isn't adequate, what is adequate?

?? if( sometingTrue ){ grep filter } else { no grep filter }

Or were you after what McA wrote?