preg_match与php编译失败
I try to match this expression :
* ^X-Spam-Flag: YES
I use this code :
if(preg_match('\'* ^X-Spam-Flag: YES\'', $value))
But i have this error :
PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0
Problem with regex and * and ^ but can i correct that ?
dou72260
2013/06/27 14:57- regex
- php
- 点赞
- 收藏
- 回答
满意答案