When a special character, such as ? * or [ is preceded by a backslash (\), a match occurs if that special character is present in the indicated position of the searched string. The following examples illustrate the matching of patterns containing one of the special characters.
Pattern | Searched String | Result |
---|---|---|
CUST\*FIL | CUST*FIL | Match |
CUST\*FIL | CUST2FIL | No match |
Cust\*fil | CUST*FIL | No match |