Mega Code Archive

 
Categories / Perl / Regular Expression
 

D f matches d, followed by any non-newline character, followed by f

The . character is often used in conjunction with the * character.  /d.*f/ matches any string that contains the character d preceding the character f