monnappa appaiah wrote:
> Hi all,
> 
> i have this regex
> 
> [\x3c][i][m][a][g][e]\x20[s][r][c][=][h][t][t][p][:]\x2f\x2f[\x26][#]114[;][\x26][#]2570[;][\x26][#]114[;][.][b][o][o][k][.][c][o][m]
> 
> 
> when i tried to put it into human readable form this i got this
> 
> <image src=http://%26#114;%26#2570;%26#114;.book.com
> 
> 
> is that right?.......if not what is the actual decode, can someone pls
> explain that regex?

That's close, but [\x26] is the ampersand so the regex just matches the string

  <image src=http://&#114;&#2570;&#114;.book.com

It looks like someone's trying to be obscure with their code, or perhaps encode
some data into the host name. &#114; is just a small 'r', but &#2570; is
'GURMUKHI LETTER UU'.

HTH,

Rob

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to