Option 2 is the clear choice for me. I guess you missed the /c option in perlop.
- tye
In reply to Re^6: Making regex /g match continuously (/c)
by tye
in thread Making regex /g match continuously
by scottb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |