Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

7.4 Anchoring within a Line

The entire regular expression can be anchored to match only the beginning or end of a line. If the caret ^ is at the beginning of the regular expression, then the matched string must be at the beginning of a line. If the dollar sign $ is at the end of the regular expression, then the matched string must be at the end of the line.


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.