Hello.

Does anyone know how I can implement a regex callback?

ie: I have the following code:
<cfset Content = REReplace(Content,'<'&'cfif \(Var\(([^,]+),"([^"]+)")\) 
([A-Z]+) "([^"]+\)">', '<'&'cfif (Var(\1),"\2")) \3 "\4">', "all")/>

And I need to run a function on \1, \3 and \4 as they are replaced.

I'm fairly sure CF itself doesn't have this functionality, but I'm hoping 
someone can provide a simple Java example of how it works?

Thanks,

Peter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269520
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