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
In message [EMAIL PROTECTED], Daniel Dekany writes:
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
In message [EMAIL PROTECTED], Daniel Dekany writes:
According to ORO API docs, Perl5Substitution supports case
modification like \u or \l. I can't get it work:
Works for me:
java substituteExample '(.*)' '\u$1' 'foo'
substitute regex: (.*)
result: Foo
--
To unsubscribe, e-mail:
Maybe the \\u in the original posters message?
John.
In message [EMAIL PROTECTED], Daniel Dekany writes:
According to ORO API docs, Perl5Substitution supports case
modification like \u or \l. I can't get it work:
Works for me:
java substituteExample '(.*)' '\u$1' 'foo'
substitute regex: (.*)
Wednesday, December 4, 2002, 12:11:46 AM, Daniel F. Savarese wrote:
In message [EMAIL PROTECTED], Daniel Dekany writes:
According to ORO API docs, Perl5Substitution supports case
modification like \u or \l. I can't get it work:
Works for me:
java substituteExample '(.*)' '\u$1' 'foo'
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...
You may have a version earlier than 2.0.3 lurking somewhere in your
runtime environment. This happens