Version number up 3.0
Small fix
Fix for PHP 5.3 - ereg -> preg