On 13 July 2011 13:42, who.cat wrote:
> ]*>(.*?)
]*>(.*?)
Options: case insensitive; ^ and $ match at line breaks
Match the characters “” «[^>]*»
Between zero and unlimited times, as many times as possible, giving
back as needed (greedy) «*»
Match the character “>” literally «>»
Match the
On 13 July 2011 14:04, Shahriyar Imanov wrote:
> \(?P.*?)\<\/head\>
(?P.*?)
Options: case insensitive; ^ and $ match at line breaks
Match the characters “” literally «>»
Match the regular expression below and capture its match into
backreference with name “head_tag_innerHTML”
«(?P.*?)»
Mat
l.com [mailto:who@gmail.com] On Behalf Of who.cat
Sent: 13 iyul 2011 15:43
To: php-db@lists.php.net
Subject: [PHP-DB] how does this regular expression works
Reading some code from the web spider,got the such a expression :
preg_match("@]*>(.*?)<\/head>@si",$file, $regs); It&
Reading some code from the web spider,got the such a expression :
preg_match("@]*>(.*?)<\/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 strugg