nZEDb/nZEDb — pull request #728 by devmem (2013-07-04 14:52:21+00:00)
Title: Changed if() ordering top short-circuit the preg_match()

See: http://php.net/manual/en/language.operators.logical.php

Short-circuiting the if() statements should speed things up a bit.