Allow exclude (!) to work for regexp matches as well

Fixes #13
I also unified the if-else statements and the comments for those parts.
Of course this patch needs to be tested :-)