i believe regex in cf limitted to about 20k

----- Original Message -----
From: "James Sleeman" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 10:30 PM
Subject: ReReplace(NoCase) maximum length


> Hi All,
> anybody know if there is a maximum length on the string passed to
> ReReplace(NoCase) ?  Reason I ask is that I am running the following
>
> ReReplaceNoCase(trim(text), "^<HTML>(.*)</HTML>$", "\1");
>
> and when the string in text is above a certain length (don't know how
> long exactly) the code fails with an Invalid regular expression message.
>   I cut the offending text in half (it's comign from a database field
>   (the data in the field is fine, all there, all returned in query))
>   and each half goes through just fine, but put em togethor and I get
>   the error.  Hopefully the "designers" won't mind me splitting thier
>   page into two (stupidly long anyway) :-)
>
> ---
> James Sleeman
>
> 
______________________________________________________________________
Dedicated Windows 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=coldfusiona
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