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

Re: TPR1 post-mortem

Thread Previous | Thread Next
From:
Ian Phillipps
Date:
March 10, 2002 12:15
Subject:
Re: TPR1 post-mortem
Message ID:
20020310195210.A5210@homer.diplex.co.uk
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)
Surely
  /(?=(..).)/

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.

Ian

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About