Also remember that if either (or both) or the regexes fail to match, one or the other (or both) of $a and $b (or whatever you finally decide to call them) will be undefined.
In reply to Re^5: Question on Regex grouping
by AnomalousMonk
in thread Question on Regex grouping
by ajguitarmaniac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |