Don't use $1 unless you are absolutely sure the match succeeded.Definitely bad code here.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Parsing out URLs with regex
by merlyn
in thread Parsing out URLs with regex
by xtomservox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |