make sure your sought-after case matches up.  or use REReplaceNoCase()
just a thought

brendan avery 2.0 - [EMAIL PROTECTED]
310.779.2211 - santa monica, california

> -----Original Message-----
> From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 18, 2002 07:08
> To: CF-Talk
> Subject: RE: A few quick regular expression questions
> 
> 
> thats what i thought but it doesnt seem to work
> 
> Kola Oyedeji
> Web Developer
> ekeda
> t +44(208)429 7333
> f +44(208)429 7339
> www.ekeda.co.uk
> 
> 
> > -----Original Message-----
> > From: Alex [mailto:[EMAIL PROTECTED]]
> > Sent: 18 January 2002 14:58
> > To: CF-Talk
> > Subject: RE: A few quick regular expression questions
> >
> >
> > You do.
> > the carrot ^ acts as a negative      /[^A-Za-z]/
> >
> > On Fri, 18 Jan 2002, Pascal Peters wrote:
> >
> > > You don't
> > >
> > > -----Original Message-----
> > > From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
> > > Sent: vrijdag 18 januari 2002 12:19
> > > To: CF-Talk
> > > Subject: RE: A few quick regular expression questions
> > >
> > >
> > > James and Joel.
> > >
> > > Thanks for your replies.
> > >
> > > Out of curiosity how would you do a regex to find everything but 
a
> > > particular string?
> > >
> > >
> > >
> > >
> > > Kola Oyedeji
> > > Web Developer
> > > ekeda
> > > www.ekeda.co.uk
> > >
> > >
> > > > -----Original Message-----
> > > > From: James Ang [mailto:[EMAIL PROTECTED]]
> > > > Sent: 17 January 2002 22:00
> > > > To: CF-Talk
> > > > Subject: RE: A few quick regular expression questions
> > > >
> > > >
> > > > 1. Yes. [aaa] is the same as [a]
> > > >
> > > > 2. Are you sure? I just tested it within CF Studio 4.5.2,
> > and it works
> > > > as intended. I am not sure if this list's softare or Outlook
> > > > messed up,
> > > > but your test string has a white space in it.
> > > >
> > > > 3. '^cat' means the first 3 characters in the test string
> > > > must be 'cat'.
> > > > There is no concept of not-this-string in RegExp. There
> > is the concept
> > > > of not-this-set-of-characters. :)
> > > >
> > > > James.
> > > >
> > > > -----Original Message-----
> > > > From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, January 17, 2002 1:32 PM
> > > > To: CF-Talk
> > > > Subject: A few quick regular expression questions
> > > >
> > > >
> > > > Hi just playing around with regular expressions 3 
> hopefully quick
> > > > questions:
> > > >
> > > > 1. are the reg expressions [aaaa] and [aaa] the same as [a]
> > > > (i think so
> > > > just
> > > > need someone to confirm this for me)
> > > >
> > > > 2. Why does the regex \\{2,} only return 2 matches out of
> > \\ \\\\ this
> > > > should match 3 times as the expression occurs twice 3 times?
> > > >
> > > > 3. what does ^cat do? shouldn't it match everything except
> > > > for 'cat'? It
> > > > matches nothing (when tested on a chunk of text).
> > > >
> > > > Thanks in advance
> > > >
> > > > Kola
> > > >
> > > >
> > >
> > >
> > 
> 

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to