"Mark F. Murphy" wrote:
[snip] > Would you want to do this: > > input = new PatternMatcherInput ( "\u0023\u0041\u0023" ); > result = perl.substitute( "s/\u0041/\\u0042/", input); > > ??? I think you meant... result = perl.substitute( "s/\u0041/\u0042/", input); ... and it is true, that works. I ask because... result = perl.substitute( "s/\\x41/\u0042/", input); ...works, but ... result = perl.substitute( "s/\\x41/\\x42/", input); ...does not. The work is done in Perl5Compiler.__parseHex() (traced from Perl5Compiler.compile()). I am not familiar enough with the code to determine where the replacement characters are parsed. -- Michael -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
