Apache-Voodoo

 view release on metacpan or  search on metacpan

lib/Apache/Voodoo/Validate/varchar.pm  view on Meta::CPAN

		unless ($v =~ /$re/) {
			$e = 'BAD';
		}
	}

	return $v,$e;
}


#
# I saw this code fragment somewhere ages ago, I can't remember where.
# So, I can't attribute it to the proper author.  sorry!
#
# I've stripped out everthing not pertaining to HTTP URLs.  That
# was the part I really needed.
#

# Be paranoid about using grouping!
my $digits         =  '(?:\d+)';
my $dot            =  '\.';
my $qm             =  '\?';



( run in 1.633 second using v1.01-cache-2.11-cpan-b16cb0d3907 )