Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: advanced regEx

by fishbot_v2 (Chaplain)
on Nov 02, 2005 at 13:26 UTC ( [id://504912]=note: print w/replies, xml ) Need Help??


in reply to advanced regEx

This is a regex for unpacking URL-encoded strings. Your input string contains no encoded entities, and it passes through unchanged.

URL encoded text entities are of the form %FF where FF is an arbitrary byte in hex. The represent the character with the ordinal value of that byte. The regex grabs these three character sequences and translates them back into the ASCII equivalent.

update: see hex and pack for details of the hex-to-char translation.

Replies are listed 'Best First'.
Re^2: advanced regEx
by jithoosin (Scribe) on Nov 05, 2005 at 11:26 UTC
    Hi fishbot.. thanks for the help...i am kiran from india & just started learning perl.....once again thanks for spending your precious time to help novices like me....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://504912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-29 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found