Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Golf: Fix de facto HTML comments

by bageler (Hermit)
on Jul 19, 2004 at 02:12 UTC ( #375448=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 23456
    s/<!--(.*?)-->/(my$x=$1)=~s!-(-?)!$1.!g;"<!--$x-->"/egs;
    
  2. or download this
    #2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 23456
    s/<!--(.*?)-->/($_=$1)=~s!-(-?)!$1.!g;"<!--$_-->"/egs;
    
  3. or download this
    #2345678 1 2345678 2 2345678 3 2345678 4 2345678 5 23456
    s/<!--(.*?)-->/($_=$1)=~s!-(-+?)!$1.!g;"<!--$_-->"/egs;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://375448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-07-30 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (239 votes), past polls