Product specifications
Alarm and Event
3BDS011222-510 B 85
There are some abbreviations that could simplify an expression if used.
The following exist:
| Separates two expressions, for example AI|O in a character
class matches both AI and AO
! Negation operator. A!B matches a string starting with A and not
followed by a B.
Table 5. Abbreviations
Abbreviation Matches
\a Any alphanumeric character: ([a-zA-Z0-9])
\b White space (blank): ([ \\t])
\c Any alphabetic character: ([a-zA-Z])
\d Any decimal character: ([0-9])
\h Any hexadecimal digit: ([0-9a-fA-F])
\n Newline: (\r|(\r?\n))
\q A quoted string: (\”[^\”]*\”)|(\’[^\’]*\’)
\w A simple word: ([a-zA-Z]+)
\z An integer: ([0-9]+)
Table 4. Expressions (Continued)
Character Meaning