I know most regular expression engines, including the one in JavaScript have \b
to match a word boundary, be it at either the start or end of a word.
But Vim also has two more specific regular expression atoms:
\<
matches only the word boundary at the start of a word\>
matches only the word boundary at the end of a word
Does JavaScript have an equivalent to these atoms, and if not is there a way to express their more precise semantics some other way?