JavaScript Word boundary: \b

2021 VietMX 0

A word boundary \b is a test, just like ^ and $. When the regexp engine (program module that implements searching for regexps) comes across \b, it checks that the position […]