Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Happy 2006 (Golf)by BrowserUk (Patriarch) |
on Jan 11, 2006 at 10:31 UTC ( [id://522403]=note: print w/replies, xml ) | Need Help?? |
I'll go along with most of that except If you use an empty pattern in the substitution, Perl will do the right thing. Another five characters. Without the negative lookahead, the regex will produce a very high proportion of invalid expressions because it will insert an operator at the very end of the string:
Not always, and so it can be expected to still produce occasional correct answers, but it will take much longer and somehow offends my sensibilities :) Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Cool Uses for Perl
|
|