Closed coliss86 closed 2 years ago
I'll fix it and add unit tests
message.split("\b"); is wrong. \s is the word boundary. \s is "whitespace", all space, tab, \n, \r, etc.
tested with https://regex101.com/
yes \b
is wrong.
I see that you have directly corrected the bug on master, why didn't you add a comment or, better, a suggestion on the PR ?
because I'm dumb.
ok never mind :)
Steps to make the bug happen
What was supposed to happen A clear and concise description of what you expected to happen. A clear and concise description of what happens instead.
Platform (please complete the following information):