I am attempting to titlecase a match on the word "the" and it doesn't seem
to be working.  Here is my code:

    Perl5Util perl = new Perl5Util();
    System.out.println( perl.substitute("s/the/\\u$&/g", input ) );

It simply replaces any occurrence of "the" with "\u$&".  Can anyone provide
any information?

Reply via email to