Ad
  • Custom User Avatar

    I have updated the kata description with examples of invalid input. I appreciate your input!

  • Custom User Avatar

    If you are going to enforce that, then you should update the description telling about this strictness.

    I don't see the example strings written by @paulgator as partially correct, but as correct description strings inside some garbage characters which can be ignored or not, depending on the kata description.

  • Custom User Avatar

    Added those two test cases plus a few others. Thank you!

  • Default User Avatar

    Please add to test cases: strings that only partially contain correct dice notations and should return false. For example: "abc2d3+4", "4d6+8qwerty".

  • Default User Avatar

    Kata description states: "Valid passwords will only be alphanumeric characters."
    I have not found in description if _ symbol (underline) is allowed in passwords or should be excluded.
    Your tests do not cover this issue either.
    \w includes A-Z, a-z and 0-9 as well as underline. Some accepted solutions use \w token.
    Please modify description/tests.

  • Default User Avatar

    Although it's easy to figure out what has to be fixed, I'd prefer to see more informative description added. Good kata!