• Custom User Avatar

    I am reading about regular expressions now, it starting to make sense. Thanks!

  • Custom User Avatar

    This is the syntax of regular expressions, you have to search about this topic if you don't know it.

  • Custom User Avatar

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

  • Custom User Avatar

    This will add a space before every capital letter regardless of whether it is part of a camelcased word...

  • Custom User Avatar

    I think the description can be improved to make it a bit more clear what is expected.

    Original: Create a method one? that accepts a list and a block, and returns true only if the block returns true exactly one (and only one) item in the array.

    Modified: Create a method one? that accepts two params, a list and a block, and returns true only if the block returns true for exactly one item in the array.

    As a native English speaker, this change makes it clearer, and doesn't require the extra '(and only one)" qualifier.