Ad
  • Default User Avatar

    I have the same issue! All tests including random tests passes. But not the fixed test "Second long text block". Really strange.

  • Custom User Avatar

    got the same error im kind of frustrated as it took me a lot to use map() and flat() and now this?? My theory is that it has a lot of special characters. But the thing is i cant even read this without getting dizzy.

  • Default User Avatar

    такая же проблема.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    "(123) 456-7890"  => true
    "(098) 123 4567"  => false
              ^
       what's missing there?
    
  • Default User Avatar

    I solved this kata, but I get an error only with the third telefon number ("(098) 123 4567"), i don't understand where is the mistake. I'm not US.

  • Default User Avatar

    Proper regular expression setup fix

  • Default User Avatar

    thank you, this has gotten me much closer to passing, I am now only missing/messing up 1 piece

  • Default User Avatar

    You can solve this issue with proper regular expressions

  • Default User Avatar

    Thank you very much! It works now! I think the author should edit the kata description :)

  • Custom User Avatar

    I struggled a lot to just pass one test case which was giving one number count difference.
    Finally I found, that "upon" should not be part of this list of removals. once I removed this from the removal list
    it passed all the tests.

    "Kate doesn't like some of words and doesn't count them. Words to be excluded are "a", "the", "on", "at", "of", "upon", "in" and "as", case-insensitive.

  • Default User Avatar

    I completed the Kata for all tests. I get an error only on "Second long text block". How is it possible?