Message from JavaScript discussions

July 2017

— Not an incredible amount of testing tbh


That regex actually works differently and matches pure whitespace segments... but I remove them completely with trim anyways

— Hm, old regex also did that...

— Huh, what happens if you get a string with consecutive spaces?

— I looked and it just matches pure whitespace

— I guess trim is good in dealing with that

— Oh shit lol the regex is removing text

— Oook, old regex is better

— Whoopsie :P

— Sending my code to them now

— Add more test cases :P

— That was a suggestion