Re: Case modification in the substitution?

Daniel Dekany <[email protected]> Wed, 4 Dec 2002 13:14:04 +0100
Newsgroups gmane.comp.jakarta.oro.user
Message-ID <[email protected]>
Wednesday, December 4, 2002, 3:00:08 AM, Daniel F. Savarese wrote:

> In message <[email protected]>, Daniel Dekany writes:
>>Not for me... I tried that now. It prints this for me:
>>
>>substitute regex: '(.*)'
>>result: '\ufoo'
>>
>>I download 2.0.6 and will try with that...

It's working now! With 2.0.6 it \u (and \l, etc.) works.

> You may have a version earlier than 2.0.3 lurking somewhere in your
> runtime environment.  This happens to people on occasion when they
> install software that uses an earlier version of jakarta-oro and
> leave it somewhere in their default classpath.  Anyway, it's all I
> can think of since I checked the commit logs for Perl5Substitution
> and ran diffs to verify that this has been working since Mark Murphy
> contributed the feature for the v2.0.3 release.

This is odd. I'm sure that I had only ORO 2.0.5 in the classpath. I
simply ran the example from the command line (no servlet enviroment or
something), and the classpath was simply path\to\the\oro.jar;. And now
that I have replaced that jar with ORO 2.0.6, and \u works. (Both jar
was the the binary that comes with the distributions.)

-- 
Best regards,
 Daniel Dekany