McAfee VLF09E002RAA User Guide - Page 90

A negative character set. Matches any character not enclosed. For example

Page 90 highlights

Adding filters x|y Matches either x or y. For example, "z|wood" matches "z" or "wood". "(z|w)oo" matches "zoo" or "wood". {n} The n is a non negative integer. Matches exactly n times. For example, "o{2}" does not match the "o" in "Bob," but matches the first two o's in "foooood". {n,} The n is a non negative integer. Matches at least n times. For example, "o{2,}" does not match the "o" in "Bob" and matches all the o's in "foooood." "o{1,}" is equivalent to "o+". "o{0,}" is equivalent to "o*". {n,m} The m and n are non negative integers. Matches at least n and at most m times. For example, "o{1,3}" matches the first three o's in "fooooood." "o{0,1}" is equivalent to "o?". [xyz] A character set. Matches any one of the enclosed characters. For example, "[abc]" matches the "a" in "plain". [^xyz] A negative character set. Matches any character not enclosed. For example, "[^abc]" matches the "p" in "plain". [a-z] A range of characters. Matches any character in the specified range. For example, "[a-z]" matches any lowercase alphabetic character in the range "a" through "z". [^m-z] A negative range characters. Matches any character not in the specified range. For example, "[m-z]" matches any character not in the range "m" through "z". \b Matches a word boundary, that is, the position between a word and a space. For example, "er\b" matches the "er" in "never" but not the "er" in "verb". \B Matches a non-word boundary. "ea*r\B" matches the "ear" in "never early". \d Matches a digit character. Equivalent to [0-9]. User Guide 47

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

User Guide
47
Adding filters
x|y
Matches either x or y. For example, “z|wood“ matches “z“ or “wood“. “(z|w)oo“
matches “zoo“ or “wood“.
{n}
The n is a non negative integer. Matches exactly n times. For example, “o{2}“ does
not match the “o“ in “Bob,“ but matches the first two o's in “foooood“.
{n,}
The n is a non negative integer. Matches at least n times. For example, “o{2,}“ does
not match the “o“ in “Bob“ and matches all the o's in “foooood.“ “o{1,}“ is
equivalent to “o+“. “o{0,}“ is equivalent to “o*“.
{n,m}
The m and n are non negative integers. Matches at least n and at most m times. For
example, “o{1,3}“ matches the first three o's in “fooooood.“ “o{0,1}“ is equivalent
to “o?“.
[xyz]
A character set. Matches any one of the enclosed characters. For example, “[abc]“
matches the “a“ in “plain“.
[^xyz]
A negative character set. Matches any character not enclosed. For example,
“[^abc]“ matches the “p“ in “plain“.
[a-z]
A range of characters. Matches any character in the specified range. For example,
“[a-z]“ matches any lowercase alphabetic character in the range “a“ through “z“.
[^m-z]
A negative range characters. Matches any character not in the specified range. For
example, “[m-z]“ matches any character not in the range “m“ through “z“.
\b
Matches a word boundary, that is, the position between a word and a space. For
example, “er\b“ matches the “er“ in “never“ but not the “er“ in “verb“.
\B
Matches a non-word boundary. “ea*r\B“ matches the “ear“ in “never early“.
\d
Matches a digit character. Equivalent to [0-9].