I do not had time to analyse (and understand) the Ton's solution that seems
to be very different from mine...
But I have a bad news for Tybald89 that had almost found the 55 solution.
You could have changed your
-lp0 $_+=s/(\w)(\D{10})?(?!\1)\w|x(.*)$/X$+X/?redo:/^.*X/
to
-lp0 $_+=s/(\w)(\D{10})?(?!\1)\w|x.*$/X$+X/?redo:/^.*X/ (which is almost the
same as my solution by the way)
The lattest is destructive for the last line of the laby, but it doesn't
matter, as this works anyway.
Sorry for pointing this out. :)
Too bad, I've got a meeting this morning, so I won't have time to search for
a Bob-54-or-less-solution...
--
|3eno�t