an extremely strict check that is supposed to only let particular URLs pass and reject the restI think you could make your life much easier if you'd reverse the logic of your script: similiar to:
That way you can concentrate on what you want instead of what to avoid.if ($referrer =~ m!^https?://(forum\.)?robidu\.de/!) { print "pass\n"; } else { print "reject\n"; }
In reply to Re: regexp: Mind-boggling negative assertions...
by soonix
in thread regexp: Mind-boggling negative assertions...
by Robidu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |