Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Yep, I can see your code now.
You have a bug when the string is not empty and there are no matches for the regex. It's likely that if your code is working in VS Code you're just not testing that particular case; try running this:
lowercaseCount("ABC123!@€£#$%^&*()_-+=}{[]|\':;?/>.<,~")
and seeing what happens.
Can you see it when you click on View Solution under my comment?
Can you post your solution code here with a spoiler tag? It's hard to say without seeing your code or knowing what's different between the environments.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
But wouldn't it fail the test if one of the numbers was negative?
Aaand I learned a new method. Thank you!
This comment is hidden because it contains spoiler information about the solution