Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Golf: Fix de facto HTML comments

by eyepopslikeamosquito (Canon)
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


Comment on Re^2: Golf: Fix de facto HTML comments
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-10-02 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (46 votes), past polls