About DOS wildcard style expressions

Article:HOWTO82471  |  Created: 2012-11-30  |  Updated: 2014-06-25  |  Article URL http://www.symantec.com/docs/HOWTO82471
Article Type
How To


Subject


About DOS wildcard style expressions

DOS wildcard style expressions ("*", ".", and "?") provide a convenient way to specify file names, similar to the way in which DOS wildcard characters are used. For example, match lists of type DOS wildcard are typically used with the Attachment Name Attribute to specify file names such as *.exe. In addition, a DOS wildcard expression lets you easily specify files without extensions.

Table: DOS wildcard expressions describes the DOS wildcard style expressions.

Table: DOS wildcard expressions

DOS wildcard expression

Equivalent regular expression

Description

*

.*

Zero or more of any character

?

[^\.]

Any one character except the period (.)

.

\.

Literal period character

*.

[^\.]+\.?

Does not contain a period, but can end with one

See About regular expressions


Legacy ID



SMSID0EVABI_v82634657


Article URL http://www.symantec.com/docs/HOWTO82471


Terms of use for this information are found in Legal Notices