Previous: Back-reference Operator, Up: Common Operators [Contents][Index]
These operators can constrain a pattern to match only at the beginning or end of the entire string or at the beginning or end of a line.
• Match-beginning-of-line Operator: | ^ | |
• Match-end-of-line Operator: | $ |