Ad
  • Default User Avatar
  • Custom User Avatar

    It may be helpful to mark the start and end of you regex. You also shouldn't use the 'thing' to check for actual characters.

  • Custom User Avatar

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

  • Custom User Avatar

    Good challenge - first time I felt the need to really write my own functions... Can I ask though - how does the node versioning work? Why is it not set to the latest version / latest stable version? 👏💻😲😎🥇 I wasn't able to use Array.flat(), and when I checked it's because of the node version (I think).

  • Custom User Avatar

    Thanks for your help but unfortunately I'm still stuck... The log just says expected True but got False. I will have to spend some time away from it and do some other katas, and see if a fresh mind will help. Thanks again.

  • Custom User Avatar

    That's not the test your code fails. Check how you set pos value and the test your code is failing, it'll become evident how to fix it.

  • Custom User Avatar

    Please, when asking for help, be as descriptive as you can, nobody can help you with only that.

    • Which language?
    • Which error?
    • Your code? Mark your post as having spoiler content if you post it.
  • Custom User Avatar

    You can see with the log where the problem is, you should look for the next letter in the name once you've found one and so on. Remember you code should work case-insensitively too.

  • Custom User Avatar

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

  • Default User Avatar

    I'm glad you enjoyed it.

  • Custom User Avatar

    Thanks! I did it first time but all the tests failed...!

    Was sure I'd managed it, so I checked the tests and could see that I'd just done it the wrong way around, and had first capitilised the odds instead of the evens... A quick fix. Enjoyed it, thanks again!