You are right; but that's easily fixed by generalizing the first step a bit: split on either question mark or equality sign, (split /[?=]/, $url, 2)[0]
In reply to Re^2: Need help with regex/strategy
by moritz
in thread Need help with regex/strategy
by Gangabass
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |