jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: special control characters
Date Tue, 29 Jan 2002 16:46:23 GMT

In message <3C56C90C.5DA79586@Sun.COM>, Michael Davey - Sun UK Support Engineer
 writes:
>  result = perl.substitute( "s/\\b/\\t/", input);

This should be 
  result = perl.substitute( "s/\\b/\t/", input);

The regular expression escapes will be interpreted by Perl5Compiler,
but the substitution is handled by Perl5Substitution.  So escapes
in the substitution should be straight Java, except for \u\U\e\E which
where added by Mark Murphy to handle inline case modification, which 
although technically part of Perl string handling, was deemed of
sufficient importance/convenience.

daniel



--
To unsubscribe, e-mail:   <mailto:oro-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:oro-dev-help@jakarta.apache.org>


Mime
View raw message