3 // If isset $parameter (string), returns true if spam
5 if (isset($parameter)) {
6 if (!$spam = get_field('datalists','value','name','antispam')) {
10 $spam = str_replace("\r","",$spam);
11 $spam = explode("\n",$spam);
13 foreach($spam as $regexp) {
14 if (strlen($regexp) > 0) {
15 if (substr($regexp,0,1) != "#") {
16 if (@preg_match
("/" . trim($regexp) . "/is", $parameter)) {