Editing Expression Values - Intermec 700 Series User Manual

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

Scanner Support
Operator (Continued)
(expr1)|(expr2)
(subexpression)

Editing Expression Values

This table lists the valid operators for editing expressions.
Operator
\index
& or \0
\xhh
any character string
6-6
700 Series Color Mobile Computer User's Manual
Meaning
Matches expr1 or expr2.
Grouping operator to consolidate
terms into a subexpression, which
can override the order of
evaluation.
The subexpression is available for
later matching or editing by
means of \index, where \index is
between 1–9 and refers to the
index--th group in the string,
counting from left to right. \0
refers to the whole expression.
Meaning
The index-th subexpression (read-
ing left-right) in the matched
string. index must be between
0–9. \0 is the matched expression
itself.
The matched expression itself.
A concise representation of the
lower 256 characters in the Uni-
code set. When converted, this is
still a 16-bit value.
Inserts any character string in
the output string.
<symID> is optional. If present, only data in the indicated symbology is
accepted.
If the entire expression is blank, all data is passed unchanged. If = >
editing-expression is omitted, then all data that passes through the filter is
returned unchanged. If = > editing expression is present, the data is
transformed by editing-expression.
Multiple grid expressions can be compiled and are related in a logical OR
fashion. These are expressed as single grid expressions separated by
semicolons. When matching is attempted, the first grid expression from left
to right that achieves a match will cause the data to be accepted.
All pattern expressions and parsed data are in Unicode.
Example
a|b matches a or b
Overriding evaluation order:
(ab)*c matches c, abc, ababc, etc.
Back-referencing: (aa)bb\1
matches aabbaa.
Example
M([0--9]{6})= > \1 produces
270494 when M270494 is
scanned, stripping off the first
character.
M[0--9]{6}= > \0–Conn and
M[0--9]{6}= > &–Conn
both produce
M270494–Conn
when M270494 is scanned.
\x0d inserts a carriage return.
See previous examples.
SECTION 6

Advertisement

Table of Contents
loading

Table of Contents