Fixed bug with invalid hunger of preg_match.