in reply to common replacement code ill-understood
It matches a two-digit hexidecimal number preceded by a %. That entity ( %7F, for example) is converted to a base-10 equivalent (some number between 0 and 255), and then that number is converted into a single byte, and substituted into the original string in place of the original hexidecimal entity.
See perlre, hex, and pack for further information.
Dave
|
|---|