Mega Code Archive

 
Categories / Perl / Regular Expression
 

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/