[Jax.PM] Wake up =)

Aaron Johnson solution at gina.net
Sun Aug 31 15:44:55 CDT 2003


On Sat, 2003-08-30 at 21:27, iudicium ferat wrote:
> [a jax.PM member posting]
> 
> Man ... this list is way too quiet  :/
> 
> Here is something small to wake you up  =)
> 
> What is wrong with this code?
> 
> s{ <!(.*?)(--.*?--\s*)+(.*?)> }{ if ($1 || $3) "<!$1 $3>"; } }gesx;
> 

It appears that you are attempting to remove HTML comments.
One problem I see is that it isn't striping the <! and > from the HTML.

> 
> BONUS:
> Where did I steal it from?
> 

TPJ Issue 1?

> Cheers!
> -Sx-
> 
> 
> _______________________________________________
> Jacksonville-pm mailing list
> Jacksonville-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/jacksonville-pm
-- 
Aaron J Johnson
IT Consultant/Implementor
solution at gina.net
(352) 687-4980 Ocala FL
(321) 206-3187 Orlando FL
(800) 334-0172





More information about the Jacksonville-pm mailing list