Character Classes

The following table lists and describes character classes in iWay DQS.

Character Class

Description

.

Matches any character except \n.

[aeiou]

Matches any single character included in the specified set of characters.

[^aeiou]

Matches any single character not in the specified set of characters.

[0-9a-fA-F]

Use of a hyphen (–) allows specification of contiguous character ranges.

\w

Matches any word character. \w is equivalent to [a-zA-Z_0-9].

\W

Matches any non-word character. \W is equivalent to [^a- zA-Z_0-9].

\s

Matches any white-space character. \s is equivalent to [\f\n\r\t\v].

\S

Matches any non-white-space character. \S is equivalent to [^ \f\n\r\t\v].

\d

Matches any decimal digit.

\D

Matches any non-digit.


iWay Software