Make that m//g (note the 'g') in a scalar context and then pos.
- tye
In reply to Re^3: Style question: regex versus string builtin function (pos)
by tye
in thread Style question: regex versus string builtin function
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |