Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Golf: Fix de facto HTML comments

by eyepopslikeamosquito (Archbishop)
on Jul 19, 2004 at 09:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://375507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2025-07-11 14:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.