Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 musing on the Monastery: (2)
As of 2024-04-25 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found