manpagez: man pages & more
info grep
Home | html | info | man

File: grep.info,  Node: Anchoring,  Next: Back-references and Subexpressions,  Prev: Special Backslash Expressions,  Up: Regular Expressions

3.4 Anchoring
=============

The caret ‘^’ and the dollar sign ‘$’ are special characters that
respectively match the empty string at the beginning and end of a line.
They are termed “anchors”, since they force the match to be "anchored"
to beginning or end of a line, respectively.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.