My bet would be that your string X is too long.

CF 5 has a known limitation of something like 22,000 bytes. Longer strings throw this error.

I think.

Any ninjas around to correct me?

Jerry Johnson

>>> [EMAIL PROTECTED] 10/10/03 01:39PM >>>
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]

Reply via email to