in reply to Stuck in komplexer regex, at least for me

Hmm, I don't think I understand the rule...

201045139158 -> 20145139158
Why is the 2nd 0 eliminated?
  • Comment on Re: Stuck in komplexer regex, at least for me

Replies are listed 'Best First'.
Re^2: Stuck in komplexer regex, at least for me
by Fletch (Bishop) on Mar 26, 2007 at 16:58 UTC

    Because it's not Thursday after dark. If it were, the 0 would have been replaced with a jack and he'd be on the way to a royal fizzbin. Unless he got a kronk, but that'd just be bad luck.

    I think the problem is that he doesn't understand his own spec well enough to either write the regex nor to explain it to us. It's probably time for the OP to sit down, go back to square one, and enumerate just what it is that's trying to be accomplished.