Just trying to help. If you understood what a cass was then you'd understand
why you can't put {} in it. A little politeness wouldn't hurt.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bounce-cfaussie-
> [EMAIL PROTECTED] On Behalf Of Taco Fleur
> Sent: Monday, 1 December 2003 10:48 a.m.
> To: CFAussie Mailing List
> Subject: [cfaussie] Re: [OT] JS RegEx
>
> whatever, just close this discussion, its getting nowhere..
> Whether that is because I am not explaining myself well enough, or whether
> the discussion is not followed from the first email I do not know.
> I am giving up on this one.
> Thanks all..
>
> -----Original Message-----
> From: Matthew Walker [mailto:[EMAIL PROTECTED]
> Sent: Monday, 1 December 2003 8:44 AM
> To: CFAussie Mailing List
> Subject: [cfaussie] Re: [OT] JS RegEx
>
>
> [^a-z\.,] is not a string of characters. It's a class, which will match
> exactly one character in that class.
>
> [^a-z\.,]+ is a string of characters.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:bounce-cfaussie-
> > [EMAIL PROTECTED] On Behalf Of Taco Fleur
> > Sent: Monday, 1 December 2003 10:39 a.m.
> > To: CFAussie Mailing List
> > Subject: [cfaussie] Re: [OT] JS RegEx
> >
> > Hi Graham,
> >
> > not sure if your regex would work, but I do know it would not work for
> me,
> > as the regex string is not just one character but a long string of
> > characters like [^a-z\.,] etc. so I would not be able to specify the
> > backreference.
> > example
> >
> > obj.value = obj.value.replace("[^a-z\.,'\-\s]", "");
> >
> >
> >
> > -----Original Message-----
> > From: Graham Cook [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 28 November 2003 11:42 PM
> > To: CFAussie Mailing List
> > Subject: [cfaussie] Re: [OT] JS RegEx
> >
> >
> > Hi Taco, I'm a newbie at regular expressions, but looking at my O'Reilly
> > book they give the example to remove any doubled words:
> > <cfset NoDupes = ReReplaceNoCase("I would like to go to to the
> park","([A-
> > Z]+)[ ]+\1","\1","\1","ALL">
> >
> > >From that could the extrapolation for your situation be along the
> lines:
> > "([']+)[]+\1","\1","\1","ALL"
> >
> > Regards
> > Graham Cook
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to leave-cfaussie-
> > [EMAIL PROTECTED]
> >
> > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> > http://www.mxdu.com/ + 24-25 February, 2004
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to leave-cfaussie-
> > [EMAIL PROTECTED]
> >
> > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> > http://www.mxdu.com/ + 24-25 February, 2004
>
>
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to leave-cfaussie-
> [EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to leave-cfaussie-
> [EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004