Complicated!
| pattern | interpolated | repeat expression |
|---|---|---|
| $x{digits[,[digits]]} | $x | {digits[,[digits]]} |
| $x{y} | $x{y} | once |
| ${x}{digits[,[digits]]} | $x | {digits[,[digits]]} |
| ${x}{y} | $x | once (The rest will be treated independently) |
| ${x{y}}{digits[,[digits]]} | $x{y} | {digits[,[digits]]} |
| ${x{y}}{z} | $x{y} | once (The rest will be treated independently) |
The rules seem to be
But it's completely different for [...].
| pattern | interpolated | rest |
|---|---|---|
| $x[y] | $x[y] | |
| ${x}[y] | $x | [y] |
The rules seem to be
In reply to Re: Of scalars, hashes, quantifiers, and regexen
by ikegami
in thread Of scalars, hashes, quantifiers, and regexen
by duelafn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |