in reply to help with regex

Change:

print "ONE: $1\n";

To:

print "ONE: $+\n";

To get the output you want.

Replies are listed 'Best First'.
Re^2: help with regex
by AnomalousMonk (Archbishop) on Mar 27, 2009 at 20:40 UTC