Use the * character after the . character to represent a match with zero to more characters in the searched string. The following examples illustrate the matching of patterns containing the asterisk (*) character.
Pattern | Searched String | Result |
\budget\.* | \budget\salesfil | Match |
\budget\.* | \designer\orderfil | No match |
\designer\.* | \designer\cust2fil | Match |
\designer\.* | \budget\cust2fil.dat | No match |
\.*\orderfil | \budget\orderfil | Match |
\.*\orderfil | \designer\prod2fil | No match |
\.*\prod2fil | \prod2fil | No match |
\budget\.* | \designer\salesfil | No match |