how does this regular expression works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reading some code from the web spider,got the such a expression :
preg_match("@<head[^>]*>(.*?)<\/head>@si",$file, $regs);
It's about get the head content of a website,i wanna know the match detail
.Could someone give some tips ,
thanks in advance .

All you best
------------------------
What we are struggling for ?
The life or the life ?

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux