Editing Expression Values - Intermec 700 Series 700 User Manual

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

Advertisement

Filter Expression Values (continued)
Operator
{min,max}
(expr1)|(expr2)
(subexpression)
Operator
Meaning
\index
The index-th subexpression (reading left-right)
in the matched string. index must be between
0–9. \0 is the matched expression itself.
& or \0
The matched expression itself.
\xhh
A concise representation of the lower 256
characters in the Unicode set. When con-
verted, this is still a 16-bit value.
any character string Inserts any character string in the output
string.
700 Series Monochrome Mobile Computer User's Manual
Meaning
A repetition operator like + or *, ex-
cept the number of repetitions is spe-
cified by min and max.
Matches expr1 or expr2.
Grouping operator to consolidate
terms into a subexpression, which
can override the order of evaluation.
The subexpression is available for lat-
er 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 expres-
sion.

Editing Expression Values

This table lists the valid operators for editing expressions.
S <symID> is optional. If present, only data in the indicated symbology is
accepted.
S 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 trans-
formed by editing-expression.
S 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.
S All pattern expressions and parsed data are in Unicode.
Chapter 6
Example
[a-z]{1,3} matches a, ab, or aab, but
not aabc
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.
Scanner Support
151

Advertisement

Table of Contents
loading

Table of Contents