olaf
Sat 22 July 2006, 11:38 am GMT +0300
With domain "aa_", result is "The domain name: aa_.com is free.".
Regards.
don't think there is a real bug since the underscore is not valid inside a domain name ;)
But I optimized the regex pattern a little bit:
<?php
function check_entry() {
if (preg_match("/^([a-z0-9]+(\-?[a-z0-9]*)){2,63}$/i", $this->domain)) {
return true;
} else {
return false;
}
}