Matt Benson wrote:
This is the reason I am confused. http://java.sun.com/docs/books/tutorial/extra/regex/char_classes.html--- Nat Gross <[EMAIL PROTECTED]> wrote:
Hi;
I am just coming up to speed on Regex and have a
couple of questions, please.
1. Is there a difference between a) [a-cx-z] and
b)[a-c[x-z]] ?
If so, what? If not, which syntax is better to use?
I don't know, but b) looks confusing to me. I'd go with a).
If you look under the union (and other) section on that page, they consistently use b), hence my question.
This issue is regarding a non-regex feature request. But, I hope that generic regex can do this, as well..2. How do I uppercase (or lowercase) a character in
a string? (Need to do this in Ant, so the Java string functions are not
helpful.)
There is some information on this here: http://issues.apache.org/bugzilla/show_bug.cgi?id=32582
Thanks;
-nat
HTH, Matt
Thank you;
-nat
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]