No ending delimiter '/' found error

后端 未结 3 935
南旧
南旧 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 05:58

    Try changing preg_match('/

    About \(.*?)\ ',$v,$s);

    To preg_match('/

    About \(.*?)\ /',$v,$s);

    / is a "delimiter" meaning it tells preg_match where the regex pattern ends.

提交回复
热议问题