Metrohm tiamo 2.3 Patch 1 (process analysis) User Manual

Page 1287

Advertising
background image

■■■■■■■■■■■■■■■■■■■■■■

5 Method

tiamo 2.3 Patch 1 (for Process Analysis)

■■■■■■■■

1271

Regular Expressions can be entered. You can use these exactly defined
search patterns to interpret the received character strings and save con-
tents from this strings in a method variable. Regular Expressions are widely
used in computer science (operating systems UNIX or LINUX, script lan-
guages PERL, etc.) and are standardized to a great extent. tiamo uses
Extended Regular Expressions in accordance with Java to their full
extent (for details, see e.g.

http://en.wikipedia.org/wiki/Regular_expres-

sion

).

Input

100 characters

Examples for Regular Expressions:

Expression

Significance

Example

[abc]

OR function for single char-
acters

receive a or b or c

[a-z0-9]

one character in the speci-
fied range

m or 5

(hallo)

substring

string contains hallo

^hallo

start of line

hallo is at start of line

hallo$

end of line

hallo is at end of line

.

any single character

a or 4 or - or …

\.

point

.

\d

one digit

3

\d+

several digits

324567

\d{4}

four digits

3143

\D

not one digit

A or ! or …

\w

a digit or a letter

a or 3

\W

neither digit nor letter

! or .

.*

any character string

abcd or 41 or -$=$ or …

Any combination of regular expressions is possible.

Note

Open and close brackets must be set in the field Comparison in any
case in order to save the received data in a variable. Therefore, to save
a complete character string in a variable, the expression (.*) must be
entered in the field Comparison.

Advertising