I just changed the poll code so that anonymous users can again look at the polls, vote at them and write comments. They cannot however suggest new poll ideas (as that was insanely spammed when we had it open for anonymous users).
With regards the the spammed comments, I will implement a check that hinders anonymous posters from posting URLs (if anyone knows a good perl Regex to check for URLs that would be helpful). We will see how much this helps and if additional measures are necessary.

That should be good enough for this purpose.
But I just wanted to say that trying to match regexpes on HTML will quickly lead to insanity and using a proper parser is a better way. Trust me, I've been there.
maybe you should try the cpan-Module Regexp::Common. That should do all the work for you. Never tried the uri-Part for myself, but the manpage looks rather simple for me ;)
Greetings Herbert
man Regexp::Common::URI::http
Regexp::Common::URI::http
Section: User Contributed Perl Documentation (3)
NAME
Regexp::Common::URI::http -- Returns a pattern for HTTP URIs.
SYNOPSIS
use Regexp::Common qw /URI/;
while (<>) {
/$RE{URI}{HTTP}/ and print "Contains an HTTP URI.\n";
}
http://www.phpbb.com/phpBB/viewtopic.php?t=382890&postdays=0&postorder=asc&start=0&sid=745cba2eaa7a98245291c7b6b0eaa120 is easy to install and works much better.