Ha, cool. Regex parenthesis abuse a common thing I take it?

Dominic

2009/8/23 Peter Boughton <[email protected]>

>
> ><cfset filename = ReReplace(filename, '_(_+)', '_', 'all') />
>
> Heh. More regex parentheses abuse. ;)
>
> The grouping there is not needed at all, __+ would work exactly the same.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325618
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