Mega Code Archive

 
Categories / Perl / Regular Expression
 

Combine [] with + to match a sequence of characters of any length

/d[eE]+f/ This matches all of the following: def dEf deef dEef dEEEeeeEef