Anchors and boundaries
Anchors and boundaries test positions in a subject or search region without consuming the surrounding text.
- Canonical category ID
anchors-and-boundaries- Exact feature count
- 18
Conceptual organization
The groupings below use the corpus’s feature-class field to make the category easier to scan. They do not change canonical category membership.
assertion17
- Column positionAsserts a specified physical or virtual editor column.
feature.column-position - Editor cursor positionAsserts the current editor cursor position.
feature.cursor-position - Line endAsserts subject end or a position preceding a governed line terminator.
feature.line-end - Line-number positionAsserts that matching occurs on a specified editor line.
feature.line-number-position - Line startAsserts subject start or a position following a governed line terminator.
feature.line-start - Editor mark positionAsserts a named editor mark position.
feature.mark-position - Non-word boundaryAsserts that the current position is not a word boundary.
feature.non-word-boundary - Previous-match endAsserts the initial operation position or the end of the preceding successful match.
feature.previous-match-end - Search-region endAsserts the end of a host-defined matcher region or subtext.
feature.search-region-end - Search-region startAsserts the start of a host-defined matcher region or subtext.
feature.search-region-start - Subject end before final newlineAsserts strict end or the position immediately before a permitted final newline.
feature.subject-end-before-final-newline - Strict absolute subject endAsserts the position after the final governed subject unit only.
feature.subject-end-strict - Absolute subject startAsserts the start of the complete governed subject independently of multiline mode.
feature.subject-start - Visual-selection positionAsserts that the current position lies in the editor's visual selection.
feature.visual-selection-position - Word boundaryAsserts a transition between word and non-word status under the active word definition.
feature.word-boundary - Word endAsserts a transition out of a word under the active word definition.
feature.word-end - Word startAsserts a transition into a word under the active word definition.
feature.word-start
unicode1
Category provenance
All 18 entries above derive from the canonical Regex Conformance snapshot at reviewed revision 3285cc9fa8310df0af00fa50724d65531e0695d9. The bound semantic digest is e2c99c582ad9c8f2875060f9cb9d3ec0da8057f554ac09477f8e07b96da30b05.