Matching Whitespace & Non-Whitespace Character

  • + 5 comments

    looks broken to me,

    test cases use patterns like:

    'xxx xx xx' with expected outcome true,
    and 'xx xxx xx' with expected outcome false.

    both of which are not specified in the problem itself, which clearly asks for the pattern 'xx xx xx'

    it's also never stated whether it should match from the start until the end of the string or as a sub-string aswell.