AntonKhorev left a comment (openstreetmap/openstreetmap-website#6071)

Splitting on `\b` requires agreeing with the regexp rules of `\b` on what a 
word is. For example "-" is not a word character. "abc-def" is two words with 
two boundaries inside: "abc" + "-def" and "abc-" + "def".

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6071#issuecomment-2939983366
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/6071/c2939983...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to