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

Re: [MacPerl-AnyPerl] good idea or bad idea?



On Mon, 17 Jul 2000 12:33:55 -0400, Ronald J Kimball wrote:

>If you can't think of a way to do it with a single regex, do it with two
>regexes.  :)
>
>my($story_time) =
>   $sci_page_head =~ /(.*OriginalPublicationDate.*)/
>   and $1 =~ /content="(.*)"/i;

The next is also legal HTML:

	<META
	   NAME = "OriginalPublicationDate"
	   CONTENT = "July 17 2000"
	>

I bet it will pose some problems.

-- 
	Bart.

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org