Putting stuff in $1 is called capturing. While parens also do grouping, it's usually done using (?: ... ). For example, /abc(?:def|ghi)/.
In reply to Re^3: String Match Use of $1 Uninitialized
by ikegami
in thread String Match Use of $1 Uninitialized
by spickles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |