doph! I am not the MOTO I thought I was. :-) Thanks
Mike ----- Original Message ----- From: "Ben Doom" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 12:52 PM Subject: RE: regex limit in CF 5 > refind(pattern, left(string, 19000)) > refind(pattern, mid(string, 18000, 19000)) > etc. > > :-) > > > -- Ben Doom > Programmer & General Lackey > Moonbow Software, Inc > > : -----Original Message----- > : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] > : Sent: Tuesday, July 15, 2003 12:07 PM > : To: CF-Talk > : Subject: Re: regex limit in CF 5 > : > : > : What do you recommend to break it apart? I thought the functions in CF > : worked on size as it relates to characters.... > : > : > : ----- Original Message ----- > : From: "Ben Doom" <[EMAIL PROTECTED]> > : To: "CF-Talk" <[EMAIL PROTECTED]> > : Sent: Tuesday, July 15, 2003 11:56 AM > : Subject: RE: regex limit in CF 5 > : > : > : > I generally do something like the following: > : > > : > find in the first 19k > : > > : > If one is found, remember where it is (or process or whatever) and find > : > starting immediately after > : > > : > Else, find starting at about 18k or so (overlap bigger than max size of > : > thing I'm looking for) > : > > : > repeat until the whole document has been searched. > : > > : > HTH > : > > : > > : > -- Ben Doom > : > Programmer & General Lackey > : > Moonbow Software, Inc > : > > : > : -----Original Message----- > : > : From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] > : > : Sent: Tuesday, July 15, 2003 11:45 AM > : > : To: CF-Talk > : > : Subject: regex limit in CF 5 > : > : > : > : > : > : Has anyone gotten around the issue of not being able to run more > : > : than 20K through a REFindNoCase in Cold Fusion 5? > : > : Basically I upload a word document and want to parse through it > : > : for specicif fields.. such %{fieldName}. > : > : At first I was going to access the document via COM but once a > : > : friend of mine showed me that actually reading the document and > : > : parsing it would work, I have not needed to use COM. > : > : > : > : In CFMX and Red Sky, I have no problems, the size limits on > : > : REFindNoCase seem to have been addressed. > : > : > : > : I guess my only option at this point is to split the document > : > : into chunks of 20K or less and parse each section, being careful > : > : not to split the document in the middle of one of the specific > : > : fields %{fieldName}. > : > : > : > : Has anyone done any sectioning like this? Any pointers? > : > : > : > : Thanks. > : > : > : > : Mike > : > : > : > > : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 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. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

