(2010-) * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt * @package Functions * */ /** * validates a given regex * * @param string $regex regex to validate * * @return boolean */ function checkValidRegEx($regex = null) { if($regex == null || $regex == '') { return true; } }