in reply to Re^2: Calculations in Regexp
in thread Calculations in Regexp

Don't forget the g modifier or this will be an endless loop. And don't forget the slashes or this won't even be a regex