Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking
  3. Rules
  4. Connection Rules
  5. Security Rules
  6. Security Rule Set Simulator
  7. Masking Functions
  8. Glossary

Character Classes

Character Classes

A character class contains a list of one or more characters. Use the bracket expression to create a character class and to match an expression that has a character in a given space.
You can use metacharacters, such as
-, ^, \, [:...:]
, to perform an advanced search on character classes. Use class shorthands, such as \d, \D, \s, \S, \w, and \W, as shortcuts for character classes.
The following table lists the precedence of character-class operators from highest to lowest:
Priority
Description
Character Class
1
Literal escape
\x
2
Group of characters
[aeiou]
3
Range of characters
[a-z]
4
Union of characters
[a-e][i-u]
5
Intersection of characters
[a-z&&[aeiou]]