Perhaps you could evaluate the return value of preg_match call, no need to use iset:

if ( preg_match( ... ) ) {
...
}