Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Golf: Fix de facto HTML comments

by eyepopslikeamosquito (Chancellor)
on Jul 19, 2004 at 09:59 UTC ( #375507=note: print w/replies, xml ) Need Help??


in reply to Re: Golf: Fix de facto HTML comments
in thread Golf: Fix de facto HTML comments

Simple changes give 43. I was a little worried about regex engine reentrancy, but seems to work ok,

# 345678 1 2345678 2 2345678 3 2345678 4 2345678 s/<!--(.+?)-->/$_=$1;y#-##;"<!--$_-->"/seg

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://375507]
help
Chatterbox?
[choroba]: talking about golfing, I did Pascal's triangle in 51 characters ;-)
[choroba]: and 99 bottles of beer in 217

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2017-10-22 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (275 votes). Check out past polls.

    Notices?