in reply to Matching text in Perl

You don't have to roll your own; there's grep and more for Windows.

Makeshifts last the longest.