Hey all,
I may not be understanding REFind properly.
I have this:
<cfloop list="#this.lstUIDs#" index="i" delimiters=",">
<cfif REFind("^\d{9}-\d{3}$","i") is "1">
<cfset psyEx = psyEx+1>
<cfelse>
<cfset psy = psy+ 1>
</cfif>
</cfloop>
What's coming in is a list of UID's from a form. The UID's that match the
pattern are ignored by an outboard application.
Psy and psyEx are counters for an "x of y records exported" The outboard app
only returns a text file.
My traces show this:
information type[11:16:50.015
C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 28] [2844
ms (1st trace)] - [this.lstUIDs =
207862004-001,303062003-001,303302003-001,307972005-001,313642005-039,315352
004-001,316162004-001,318502004-001,388372004-001,405652005-001,504842006-00
1,504972006-001,505122006-001,567792006-001,2006-13416-000,2006-20801-014,20
06-22931-014,2006-23020-006,2006-23022-005,2006-23072-005,2006-23081-010,200
6-23500-001,2006-23500-002,2006-23500-013,2006-23500-020] UID
information type[11:16:50.015
C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 29] [2844
ms (0 ms)] - [psy = 1] psy
information type[11:16:50.015
C:\Inetpub\wwwroot\psychnet\classes\ContentManagement.cfc @ line: 30] [2844
ms (0 ms)] - [psyEx = 0] psyEx
--
Scott Stewart
ColdFusion Developer
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
http://www.sstwebworks.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 &
Flex 2
Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278165
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4