Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
more useful options
 
PerlMonks  

Re: Golf: Fix de facto HTML comments

by BrowserUk (Patriarch)
on Jul 19, 2004 at 03:14 UTC ( [id://375467]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Golf: Fix de facto HTML comments

65
#2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 2345 s/(?<=<!--)([^>]*?)-->/local$_=$1;s!-(\s*)-!-$1\x95!g;"$_-->"/eg;
64
#2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 2345678 6 234 s/<!--([^>]*?)-->/local$_=$1;s!-(\s*)-!-$1\x95!g;"<!--$_-->"/eg;

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://375467]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.