Feature: Word Boundaries
Home | Features | Improve this section
A Word Boundary is an Atom that matches the start or the end of a word.
Syntax
NOTE: The following syntax is an example based on some of the supported engines. For specific engine support, see Engines.
\b
— Matches the start or the end of a word.\B
— Matches when not at the start or the end of a word.
Engines
Engine | Supported |
---|---|
Perl | ✔ |
PCRE | ✔ |
Boost.Regex | ✔ |
.NET | ✔ |
Oniguruma | ✔ |
Hyperscan | ✔ |
ICU | ✔ |
Glib/GRegex | ✔ |
ECMAScript | ✔ |