Please see the following rule, why is it zero?

echo preg_match("/app\\common\\model\\NewsModel/","app\common\model\NewsModel",$matches,PREG_OFFSET_CAPTURE); // 0



preg_match("/app\\common\\model\\([a-zA-Z]+)Model/","app\common\model\NewsModel",$matches); -sharp :reg_match(): Compilation failed: unmatched parentheses at offset 27

solve

Dec.29,2021

echo preg_match("/app\\\\common\\\\model\\\\NewsModel/",'app\common\model\NewsModel',$matches,PREG_OFFSET_CAPTURE);
preg_match("/app\\\\common\\\\model\\\\([a-zA-Z]+)Model/",'app\common\model\NewsModel',$matches); 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34736-2bf2c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34736-2bf2c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?