ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32582] - Conversion from upper case to lower case and vice versa
Date Mon, 31 Jan 2005 16:14:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32582>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32582





------- Additional Comments From gudnabrsam@yahoo.com  2005-01-31 17:14 -------
Okay, if you use jakarta-ORO, you CAN get the \L \U functionality, but you have
to  backslash-escape the backslashes.  There is code in Ant--attempting to unify
the treatment of regexp engines--that translates \([^0-9]) to $1, as it were. 
So \U gets passed as U .  FWIW, \([0-9]) gets translated to \$$1 e.g. \1 to
"$1".  Anyway, the loophole is then that \\U gets translated to \U.  I don't
know that this is not a bug but I don't know whether it's changeable due to BC
limitations, but the workaround exists anyway.

HTH,
Matt

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message