|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Parse an URLby tachyon (Chancellor) |
| on Apr 09, 2002 at 12:15 UTC ( #157701=note: print w/ replies, xml ) | Need Help?? |
|
You will have to do your own work and learn about pattern matching regexes then read the relevant RFCs to determine what constitutes a valid URL. This snippet basically shows you how you do it but the only valid URL is http://perlmonks.org
cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||