Ad
  • Custom User Avatar

    Hi! That's a good point, I fixed it now so it should be less long. I underestimated the amount of symbols there were so I kept adding to the list and it became much longer than I initially thought.

  • Default User Avatar

    Hey I'm new to codewars!

    I hate regex so I definitely like your approach, however most linters/ code formatters do not like lines more than 80 characters so you may have to reformat this in a production envirionment depending on your team/ employer!

    https://eslint.org/docs/latest/rules/max-len