On 4/25/06, Ken Perl <[EMAIL PROTECTED]> wrote:

> If I want to use regular expression to extract the charactors after
> the last '/' in the url, but below regexpr doesn't work, what I do
> wrong?

You're not using a module from CPAN. There's one on there that
understands the rules about URLs. How about URI?

    http://search.cpan.org/~gaas/URI-1.35/URI.pm

If you need to learn more about string handling, we can help with
that, too. But handling URLs properly takes more than just a simple
pattern match.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to