Re: Basic regex questions.

2005-01-31 Thread Alan Gutierrez
* Nat Gross <[EMAIL PROTECTED]> [2005-01-31 11:26]: > Matt Benson wrote: > > >--- 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)

Re: Basic regex questions.

2005-01-31 Thread Nat Gross
Matt Benson wrote: --- 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 conf

Re: Basic regex questions.

2005-01-31 Thread Matt Benson
--- 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

Basic regex questions.

2005-01-31 Thread Nat Gross
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? 2. How do I uppercase (or lowercase) a character in a string? (Need to do this in Ant, so the Java