I am not at all prepared to deal with regular expressions so when this one came up in a paypal script I found myself unable to find out what it does. Any help appreciated.
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;It is used on the value of a POST from the paypal webserver when they are being read into a hash
Also, if I have a script where should I post so that others can access it (source code wise, not execution).
In reply to A regexp from paypal by davidov0009
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |