in reply to Re^2: Style question: regex versus string builtin function
in thread Style question: regex versus string builtin function

Make that m//g (note the 'g') in a scalar context and then pos.

- tye        

  • Comment on Re^3: Style question: regex versus string builtin function (pos)