Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Golf: Fix de facto HTML comments

by BrowserUk (Pope)
on Jul 19, 2004 at 07:14 UTC ( #375467=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://375467]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2016-12-05 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (89 votes). Check out past polls.