know [a-z-A-Z] will freak it out, you have to put those dashes at the end.
In fact, for a test, take the dashes out completely to see if that may be
the problem, then try different ways of putting them back in, like [-]{2} or
\-\-.
Of course I can't test this since MX's RegEx engine is vastly different.
-nathan strutz
-----Original Message-----
From: Jon Block [mailto:[EMAIL PROTECTED]
Sent: Friday, October 10, 2003 10:39 AM
To: CF-Talk
Subject: Why am I getting "Bad regular _expression_"
I'm trying to write an _expression_ that will remove any SHTML include tags.
I
am getting a "bad regular _expression_" error from cf5. What is wrong?
Thanks,
Jon
_expression_:
<CFSET VARIABLES.blingBling = reReplaceNoCase(VARIABLES.X,
"<!--.*##include.*-->", "", "ALL")>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

