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.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.