Anchor(zero width assertion)

A mark that tests a position rather than consuming a character. A caret asks for the start of a line and a word edge asks for a boundary, so nothing is eaten and nothing moves.

Back to the glossary