beautypg.com

Deleting an application, Regular expressions in uba, The metacharacters in regular expression – H3C Technologies H3C Intelligent Management Center User Manual

Page 38: Lar expressions, see, Regular, Expressions in uba

background image

29

4.

Click OK.

Deleting an application

You can delete only custom applications.
To delete a custom application from UBA:

1.

Access the Application Management page.

2.

In the application list, click the Delete icon for the application you want to delete.
A confirmation dialog box appears.

3.

Click OK.

Regular expressions in UBA

If you selected Layer 7 from the Application Type list to add an application, you must enter a regular

expression in the Regular Expression field that UBA will use to identify Layer 7 applications.
A regular expression contains 1 to 255 characters in hexadecimal notation or in text string. The

hexadecimal notation contains \x01 through \xff. The text string can contain letters, digits, and symbols
(or known as metacharacters).

The metacharacters in regular expression

The following terms describe the metacharacters in a regular expression.

Brackets ([])—A bracket expression matches a single character contained within the brackets. For

example, [abc] matches a, b, or c.

Vertical bar (|)—The alternation operator matches either the expression before or the expression

after the operator. For example, ab | cd matches ab or cd.

Parentheses (())—Defines a subexpression. For example, a(b|c)d matches abd or acd, but not ab,

cd, or abcd.

Dot (.)—Matches any single character. For example, a.b matches avb, but not ab or avwb.

Contained within a bracket expression, this character matches a literal dot.

Asterisk (*)—Matches the preceding element zero or more times. For example, a*bc matches bc,

abc, aabc, and so on. Contained within a bracket expression, this character matches a literal

asterisk.

Plus sign (+)—Matches the preceding element one or more times. For example, a+bc matches abc,

aabc, aaabc, and so on. Contained within a bracket expression, this character matches a literal

plus sign.

Question mark (?)—Matches the preceding element zero or one time. For example, a?bc only

matches bc or abc. Contained within a bracket expression, this character matches a literal

question mark.

Caret (^)—Matches the beginning of a string. For example, ^the matches the string “the man is tall”,

but not “is the man tall." A bracket expression containing this character ([^]) matches a single

character that is not contained within the brackets. For example, [^abc] matches abcd or ef, but

not ac or bc.

Dollar sign ($)—Matches the end of a string. For example, man$ matches the string “abnormal

man”, but not “the man is tall."