Filter Expression Values - Intermec 700 Series User Manual

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

Advertisement

SECTION 6

Filter Expression Values

A filter-expression can be any string of text containing the operators listed below.
Operator
Any character string not
containing the special characters:
. ? [ ] { } or \
(period, question mark, left/right
brackets, left/right curly brackets,
backslash)
\c where c is any of the special
characters: . ? [ ] { } or \
(period, question mark, left/right
brackets, left/right curly brackets,
backslash)
. (period)
^ (tarot)
$ (dollar sign)
? (question mark)
* (asterisk)
+ (plus symbol)
[characterclass]
[rangel–rangeh]
[^characterclass]
[characterclass_tag]
{num}
{min,}
{min,max}
Meaning
Match the string literally.
Remove any special meaning of c.
Any character.
Anchor the match at the
beginning of the string.
Anchor the match at the end of
the string.
Repeat the preceding expression
zero or one time.
Repeat the preceding expression
zero or more times.
Repeat the preceding expression
one or more times.
A series of non--repeating
characters denoting a class.
A sequential range of
nonrepeating characters denoting
a class.
Any character except those
denoted by a character class.
[:alnum:] — Alphanumeric
characters
[:alpha:] — Alphabetic characters
[:blank:] — Tab and space
[:cntrl:] — Control characters
[:digit:] — Numeric characters
[:graph:] — All printable
characters except space
[:lower:] — Lowercase letters
[:print:] — All printable
characters
[:punct:] — Punctuation
[:space:] — White space
characters
[:upper:] — Uppercase letters
[:xdigit:] — Hexadecimal digits
Matches exactly num repetitions.
Matches at least num repetitions.
A repetition operator like + or *,
except the number of repetitions
is specified by min and max.
Example
super20 matches super20
\* matches *
. matches x
^abc matches abc, but not aabc
abc$ matches abc but not abcc
aa? matches a or aa
ab*c matches ac, abc, abbc, etc.
ab+c matches abc, abbc, etc.
[abcdefhijklmnopqrstuvwxyz] is
the class of all lowercase alphas.
[a–z] is the class of all lowercase
alphas.
[^a–z] matches a numeric digit or
a punctuation mark.
[[:alpha:]]* matches Dynaction,
Selmer, or NewWonder but not
Super20
a{3} matches only aaa
a{3,} matches aaaa but not aa
[a--z]{1,3} matches a, ab, or aab,
but not aabc
700 Series Color Mobile Computer User's Manual
Scanner Support
6-5

Advertisement

Table of Contents
loading

Table of Contents