The [] special characters enable you to define patterns that match one of a group of alternatives.
For example, the following pattern matches def or dEf: /d[eE]f/