Re: Pattern Question: One or both, but not neither

2005-06-06 Thread Jeremy Vinding
Jeremy Vinding wrote: Ing. Branislav Gerzo wrote: Jeremy Vinding [JV], on Friday, June 03, 2005 at 16:34 (-0600) has on mind: this will not match Florida, I think you meant: /(?:Tampa )?Florida|Tampa/ JV> You caught me, but that matches "Tampa Tampa" too JV> what I really meant wa

Re: Pattern Question: One or both, but not neither

2005-06-06 Thread Jeremy Vinding
Ing. Branislav Gerzo wrote: Jeremy Vinding [JV], on Friday, June 03, 2005 at 16:34 (-0600) has on mind: this will not match Florida, I think you meant: /(?:Tampa )?Florida|Tampa/ JV> You caught me, but that matches "Tampa Tampa" too JV> what I really meant was: JV> /(?:(?:Tampa )?Fl

Re: Pattern Question: One or both, but not neither

2005-06-03 Thread Ing. Branislav Gerzo
Jeremy Vinding [JV], on Friday, June 03, 2005 at 13:31 (-0600) typed the following: >>>Can I write a pattern that matches "Tampa" or "Florida", or "Tampa >>>Florida"? JV> you could also do: JV> /(?:Tampa? Florida)|Tampa/ this will not match Florida, I think you meant: /(?:Tampa )?Florida|Tampa/

Re: Pattern Question: One or both, but not neither

2005-06-03 Thread Jeremy Vinding
Wagner, David --- Senior Programmer Analyst --- WGO wrote: Siegfried Heintze wrote: Can I write a pattern that matches "Tampa" or "Florida", or "Tampa Florida"? Thanks, Siegfried You would have to order it so that if wanted Tampa Florida that would have priority over Tampa

RE: Pattern Question: One or both, but not neither

2005-06-03 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Siegfried Heintze wrote: > Can I write a pattern that matches "Tampa" or "Florida", or "Tampa > Florida"? > > Thanks, > Siegfried You would have to order it so that if wanted Tampa Florida that would have priority over Tampa or Florida /(Tampa Florida|Tampa|Florida)/ one method.

Re: Pattern Question: One or both, but not neither

2005-06-03 Thread Chris Devers
On Fri, 3 Jun 2005, Siegfried Heintze wrote: > Can I write a pattern that matches "Tampa" or "Florida", or "Tampa Florida"? I'm sure someone can. What happened when you tried it? You did try, right? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai