Regular Expression Perl

For example, the following pattern matches def or dEf:
/d[eE]f/