Pattern Match at Beginning

The pattern of ^character-string matches with a similar character-string found at the beginning of the searched string. The following examples illustrate the matching of a pattern located at the beginning of the searched string.

Pattern

Searched String

Result

^SALES

BSALES

No match

^SALES

SALESFIL

Match

^SALES

JSALESFL

No match

^sales

SALESFL

No match