Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
P is for Practical
 
PerlMonks  

Re^2: Golf: Fix de facto HTML comments

by eyepopslikeamosquito (Archbishop)
on Jul 19, 2004 at 05:59 UTC ( [id://375507]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.