No ending delimiter '/' found error

后端 未结 3 944
南旧
南旧 2021-01-19 05:17

I have adjusted a small script to check backlinks. Yet I keep on getting the error

Warning: preg_match() [function.preg-match]: No ending delimiter \'/\' found in li

3条回答
  •  余生分开走
    2021-01-19 06:08

    It does not have a closing /

    preg_match('/ pattern /', $subject);

    You have a beginning (slash) / but no closing (slash) /

    It looks for the pattern you define in between the 2 slashes.

提交回复
热议问题