note
ikegami
<p>That's not exactly true. <c>$&</c> is only inefficient if you have another regexp in your program which doesn't capture.
<p>However, it's use is discouraged, since captures can perform the same task without the "effect at a distance" of <c>$&</c>.
<p>In this case, just replace <c>$&</c> with <c>$1</c>, and you're set.
527080
527108