in reply to Re: Fetching meta tag info
in thread Fetching meta tag info

It it possible to have spaces besides equel sign, and quotes isn't mandatory in some cases. So, I suggest the following:
if($line =~ /<meta name\s*=\s*"?.*?author"?\s+content\s*=\s*"?([^>"]*) +"?/i)

Replies are listed 'Best First'.
Re: Re: Re: Fetching meta tag info
by Anonymous Monk on Nov 12, 2002 at 16:40 UTC
    Thanks!

    ? I am Lost on what the numberous question marks are doing in this req expression?
      :-)
      A quote from the perlre man page:
        ? - Match 1 or 0 times
      
      PS. You are welcome :-)
      :-) A quote from the perlre man page:

        ? - Match 1 or 0 times

      PS. You are welcome :-)