in reply to Re^2: Check a string for consecutive digits
in thread Check a string for consecutive digits

OK, that's good.

FWIW, you hadn't posted when I started to write my response but, clearly, you did post before I did.

"All posts at the time of writing" did not include your post; however, I can see that isn't obvious.

My apologies for any unintended confusion.

— Ken

  • Comment on Re^3: Check a string for consecutive digits

Replies are listed 'Best First'.
Re^4: Check a string for consecutive digits
by AnomalousMonk (Archbishop) on Nov 26, 2015 at 16:06 UTC

    No problem, nor any need for apology. I just wanted to mention that my approach would also work with the expanded test set. I think it's important to stress your point that any approach to this problem requires a testing framework that can easily exercise all the common, degenerate and corner cases.


    Give a man a fish:  <%-{-{-{-<

      ++ All good and thanks for the thumbs-up on the testing.

      — Ken