in reply to Re^2: Perl RegEx (url explode)
in thread Perl RegEx (url explode)
Ok. The spirit reached me. This fixed it:
((.*)(?:\.)([a-zA-Z]*))(?::(\d{0,10}))?
Edit:
@Perlbotics,
Your "match if not" version is the cleaner one. Merci.
|
|---|
| Replies are listed 'Best First'. |
|---|