Ad
  • Custom User Avatar

    I threw a a lookahead (?!^) in the regexp so that it only matches capitalized letters in the middle of the text (e.g., 'FooBar' -> 'Foo Bar', rather than ' Foo Bar').
    I'm sort of surprised this wasn't one of the tests, but perhaps initial caps are not proper camelCase.