Rockwell Automation 2755 Enhanced Decoder Series B User Manual

Page 141

Advertising
background image

10–6

Configuration: Host Message Replacement Rules

Publication 2755-833

Character

Description and Use

|

A vertical bar (the shifted “\” character on the keyboard) instructs the rule
to match an incoming string if the character or expression on the left or
right of the vertical bar appears in the string.

Examples

A | B

Matches “A” or “B”

abc|123

Matches “abc” or “123”

\

The backslash indicates that the following character, which would
normally be interpreted as a metacharacter, should instead be
interpreted as a literal ASCII character.

Note: The backslash is used differently in the Replace Patterns. See
Table 10.E.

Example

\.

The period ( . ) will be interpreted as a period

rather than a

single character wildcard.

Advertising