>> perlop and perlretut seem not to mention that $1, $2 ... are reset >> even when one doesn't use ()'s.
b> The memory variables are always the values from the last successful b> match. It doesn't matter what that match was. See their entry in b> perlre. b> Which parts of perlop and perlreftut do you think are confusing? All I know is that you should add an explicit warning somewhere(s), otherwise some users might think: "Who would have thought that the numbered variables would be tampered with again if I didn't use any ()'s". "I didn't see anything saying they were. I mean if you can only create them with ()'s and you didn't again use any ()'s, then it's quite shocking that they got reset just by using //'s !"