Regular Expressions; Table 12-1 Regular Expressions And Special Characters In Rules - Honeywell Rapid Eye Operator's Manual

Multimedia digital dvr remote view
Hide thumbs Also See for Rapid Eye:
Table of Contents

Advertisement

Customer Devices

Regular Expressions

Character
.
[ ]
^
$
-
+
*
?
\
136
Technical Note on Special Characters
Operators who know how to use a regular expression (RE) benefit most from using the
special characters in a rule.
performing an extended search.
Table 12-1
Regular Expressions and Special Characters in Rules
Name
Period
Square brackets
Caret
Dollar sign
Dash
Plus sign
Asterisk
Question mark
Backslash
Table 12-1
lists the special characters that can be used for
Within the Rule, Searches for a Match to...
Any one character.
Example: .ire finds wire, tire, 4ire, and so on.
Each character in the brackets, in turn.
Example: c[aou]t finds cat, cot or cut.
1. Characters that are not in brackets (Example: r[^a]
finds rb, rc, rA, r1, and so on).
2. A rule at the beginning of a ine, when placed before it
(Example: ^Hume finds only Hume at the beginning
of a line).
3. A control code, when used with a backslash
(Example: \^C find the control-C control code).
A rule at the end of a line, when placed after it.
Example: Kant$ finds only Kant at the end of a line.
A range of characters set in square brackets.
Example: [a-z] matches any lower case letter.
The character that it follows, once or more.
Example: tu+ finds tu, tuu, tuuu, and so on.
The character that it follows, whether absent, occuring
once or more (Example: mo*e finds me, moe, mooe,
moooe, and so on).
Example: c[au]*t finds ct, cat, caat, cut, cuut, and so on.
A character that follows it, whether absent or occuring
once (Example: me?y matches either mey or my).
1. Characters, when placed prior (Example: /? finds ?).
2. Control character, when placed before their symbols
(Example: \e is an escape command, \f is a form feed,
\n is a new line, and so on).

Advertisement

Table of Contents
loading

Table of Contents