Ignoring a character along with word boundary in regex

前端 未结 3 1321
甜味超标
甜味超标 2020-12-20 00:51

I am using gsub in Ruby to make a word within text bold. I am using a word boundary so as to not make letters within other words bold, but am finding that this ignores word

3条回答
提交回复
热议问题