Possible Duplicate:
What regular expression can never match?
how do i write a regular expression which returns false always in php.
i wanted this bcos . i wanted to display a error msg with out a form rule...so i did like this..
if($values['result_msg'] == 'ERROR')
{
$form->registerRule('just_check','regex','/$^/');
$form->addRule('abc', 'Please enter valid Model Number.','just_check');
}