On Sat, 8 Jun 2002, Sean O'Rourke wrote:
> 
> > # Secondly, $" & $& produces null when $& is a capital letter, so
> > # the
> 
> Once again, the fact that only the first letter may be capital came to
> my rescue.
> 
> Actually, there's one more bug as well here.  If any of the tests had
> contained a '.' in the middle of a word (allowed by the rules, I think),
> "s/[^. ]+ */.../" would have stopped too soon.  Taking the rules to be
> defined operationally by the tests rather than formally by the web-page
> saved me in quite a number of ways.

No, the rules didn't allow a period to occur within the word, so you're safe
on that one. But I always thought the aim was to solve the problem, rather
than merely to pass the tests.

-- 
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

Reply via email to