in reply to Re^2: Finding the positions of a character in a string
in thread Finding the positions of a character in a string
Acutally I didnt use that deliberately, the reason being that what you wrote is pretty well the same as the index solution, even though it doesnt look it. The idea of the s/// was to avoid coming back to the perl runloop, and instead stay inside of the regex loop.
|
|---|