A pattern is a sequence of pattern items. A '=^=' at the beginning of a pattern anchors the match at the beginning of the subject string. A '=$=' at the end of a pattern anchors the match at the end of the subject string. At other positions, '=^=' and '=$=' have no special meaning and represent themselves.