develooper Front page | perl.fwp | Postings from March 2002

Re: TPR1 post-mortem

Thread Previous | Thread Next
Ian Phillipps
March 10, 2002 12:15
Re: TPR1 post-mortem
Message ID:
On Fri, 08 Mar 2002 at 18:27:00 +0000, Stephen Turner wrote:
> I've looked quickly at all the entries up to 55 strokes, and identified the
> following methods for difficult bits of the problem. Apologies for errors
> and omissions!

> Methods for pulling off all pairs of characters:
> /(?=(..)./               (Ton-52, Rick-52, Jukka-53, Antti-55, Adam-55)

I looked at this and wondered about whether the last ')' would be
assumed, but it isn't - just gives syntax error. Splendid lateral
thinking though and for once a golf trick likely to be of practical use.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About