$SUM += /$regex/ && $1; # Don't turn on warnings. [download]
In reply to Re: reset of match variables by JavaFan in thread reset of match variables by morgon