I was not able to reproduce this bug. (Using CFMX+Updater.)
-Ray
----- Original Message -----
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 7:26 PM
Subject: CFMX possible bug, anyone care to verify
> I might be missing something here, but I seem to be able to generate a
null
> error when performing a regex operation on a sting longer than 12980
> chars. Is this a known limitation?
>
> Maybe some one could try this could on there CFMX dev box and tell me if
> they get the same error. Here is some sample code which will generate a
> string of 12980 characters long and then try a regular expression
operation
> on the string. This generates an error on my CFMX (updater installed)
> server which is running Win2k / sp3 with IIS5.0.
>
> <!--- changing the loop to value to anything over 12980 throws an error
> (try it at 12980 and 12981)--->
>
> <cfset str="">
> <cfloop from="1" to="12981" index="i">
> <cfset str=str&i>
> </cfloop>
>
> <BR>
> <cfoutput>Ths string is #len(str)# chars long</cfoutput>
>
> <!--- this is the expression which causes the error --->
> <cfset z=REfindnocase("(\[)([[:print:][:space:]])*(\])",str,1)>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.