Ronald J Kimball writes: > This is the expected behavior for m//g in a list context. The regular > expression is applied repeatedly until it no longer matches, and the return > value is a list of all the substrings matched. After the final application > of the regex, which fails to match, pos() is reset to the beginning of the > string. I remember some discussion for making list context m//gc behave differently. What was the result? IlyaThread Previous | Thread Next