No, you're right about the "all".  I'm confusing the refind() and 
rereplace() syntax.

But, yes.  By using a regex in the condition, you are running it twice 
per loop.

--Ben Doom

Bobby Hartsfield wrote:
> The option is called 'returnsubexpressions' and valid values are true or
> false. You can only return one instance of a match with refind() (and
> possibly one instance of a sub expression match if you use parens in the
> expression). To get more, you have to run the function again with a
> different starting position (I chose to change the string rather than the
> starting position).
> 
> At least that's what the docs say. Do you have a working example of what you
> are talking about with 'all' because if you can get them all at once... that
> would be very nice to say the least.
> 
> I also don't see how I'm running it twice per loop unless you are counting
> the actual condition of the loop?
> 
> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
> 
> 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292742
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to