in reply to Re: How can I match between two integer numbers
in thread How can I match between two integer numbers

The original version is available from mjd's site as well.

Personally I find that perl -de 0, setting $_, and incrementally piddling with x /foo(.*?)bar/ until I get something that matches works pretty well.