"google" might not fit in [a-z]{2}
, but it does fit in [a-z]{2}([a-zA-Z0-9\?\=\&\%\/]*)?
- you forgot to require a /
after the TLD if the URL extends beyond the domain. So it's interpreting it with "www.go" as the domain and then "ogle" following it, with no slash in between. You can fix it by adding a [?/]
to the front of that last group to require one of those two symbols between the TLD and any further portion of the URL.
Amber
2009-10-27 09:09:43