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.
bruh
i wish im smart
old thread, but I'd recommend hiding the actual regex in a variable that suggests it's regex so nobody ever has to guess what it is. If you know it's a "regular expression", then yes it's readable.
I came up with the same answer but the test didn't like what I wrote. So I came to the solutions because I was going crazy lol.
absoultely, 100% - very readable imho
would you use this as production code? is it readable enough?
Would adding a multiline operator to the regex be useless?
According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Parsing of strings with Date.parse is strongly discouraged due to browser differences and inconsistencies.
It's better to use constructor Date("date") IMHO.
How can I take my voice back for Best Practice?
so regex aren't case sensitive?
Great solution!