Escolar Documentos
Profissional Documentos
Cultura Documentos
Blue Coat Data Loss Prevention appliance Models DLP700/ DLP1700/ DLP2700
RegEx Language
The following list shows the standard PERL-compatible regular expressions that are supported by the DLP appliance in match rules. Table 1: Regular Expressions Supported by the DLP appliance RegEx
.
Description
Matches an arbitrary character, but not a newline. Matches the preceding pattern element one or more times.
RegEx Language
RegEx
{M,N}
Description
Denotes the minimum M and the maximum N match count. Denotes a set of possible character matches. Separates alternate possibilities. Matches a word boundary. Matches alphanumeric, including "_". Matches a nonalphanumeric character. Matches a whitespace character (space, tab, newline, form feed). Matches anything BUT a whitespace.
[]
\b
\w
\W
\s
\S
\d
\D
Matches a non-digit.
^ $
RegEx Language
line or string. [^] Matches every character except the ones instide brackets.
with 'rld'\n";} $string1 = "Hello World\n";if ($string1 =~ m/[^abc]/) { print "$string1 does not contain the characters "; print "a, b, and c\n";)
Since many ranges of characters depend on the chosen locale setting (e.g., in some settings letters are organized as abc..yzABC..YZ while in some others as aAbBcC..yYzZ) the POSIX standard defines some classes or categories of characters as shown in the following table, which is not supported by the DLP appliance. Table 2: POSIX Classes NOT Supported by the DLP appliance POSIX class
[:upper:] [:lower:] [:alpha:] [:alnum:] [:digit:] [:xdigit:] [:punct:] [:blank:] [:space:] [:cntrl:] [:graph:] [:print:] [^ \t\n\r\f\v] [^\t\n\r\f\v]
similar to
[A-Z] [a-z] [A-Za-z] [A-Za-z0-9] [0-9] [0-9A-Fa-f] [.,!?:...] [ \t] [ \t\n\r\f\v] uppercase letters lowercase letters
meaning
upper- and lowercase letters digits, upper- and lowercase letters digits hexadecimal digits punctuation space and TAB blank characters control characters printed characters printed characters and space
Example: [[:upper:]ab] should only return the upper letters and 'a' 'b' lower.
RegEx Language