Added is_md5() function.
_preg_replace() and _preg_match() functions fix.