in reply to
meta parsing problems
this isnt fool proof, but it'll probably do what you want...
foreach( $content =~ m#<meta (.*?)>#sgoi ) { my $name = $1 if( $_ =~ m#name\s*?=\s*?["'](.*?)["']#sgoi); my $cont = $1 if( $_ =~ m#content\s*?=\s*?["'](.*?)["']#sgoi); }
|
Comment on
Re: meta parsing problems
Download Code | |
|---|---|
| Re^2: meta parsing problems by Anonymous Monk on Oct 20, 2007 at 11:33 UTC |