"James E. Tilley" wrote:
> 
> Does
> 
>   if (/^BEGIN$/ .. (/^\s*$/ .. /^END$/) =~ /E/)
> 
> do what you want?
> 

Getting rid of the fourth match:

  /^START$/ .. (/^\s*$/ .. /^END$/) && $&

I'm not entirely sure this works for all cases.

Jasper
-- 
I'm not a robot like you. I don't like having disks crammed into me...
Unless they're Oreos, and then only in the mouth.

Reply via email to