01.01.2013 Views

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table A-6 List of important special glob characters (continued)<br />

Character Description<br />

\ If preceding ?, *, or [, these are normal characters<br />

For example, [mn\*\[] matches:<br />

m<br />

n<br />

*<br />

[<br />

. A file name beginning with a . (dot), must be matched explicitly.<br />

For example, the command:<br />

rm *<br />

will not remove the file .profile.<br />

However, the following command will:<br />

rm .*<br />

List of important special regex characters<br />

Appendix: Configuration lists<br />

Wildcard expressions<br />

The following table provides a list of important special characters for creating regex type wildcard<br />

expressions.<br />

Note: The examples given here include the term regex and round brackets, as you need to use them when<br />

working with these expressions on the appliance.<br />

Table A-7 List of important special regex characters<br />

Character Description<br />

. Matches any single character<br />

For example, regex(.est) matches:<br />

best<br />

rest<br />

test<br />

and others<br />

* Matches the preceding character zero or more times<br />

For example, regex(a*b) matches:<br />

b<br />

ab<br />

aaaaaab<br />

and others<br />

+ Matches the preceding character one or more times<br />

For example, regex(c+d) matches:<br />

cd<br />

cccccd<br />

and others<br />

? Matches the preceding character zero or one times<br />

For example, regex(m?n) matches:<br />

n<br />

mn<br />

^ Matches the beginning of a line<br />

$ Matches the end of a line<br />

<strong>McAfee</strong> <strong>Web</strong> <strong>Gateway</strong> <strong>7.1.5</strong> <strong>Product</strong> <strong>Guide</strong> 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!