That's what I love about CF. If the base language can't do it you can always dig a bit deeper. :)
> They don't work in CFML, but they do just fine using the RegExp library in > JRE 1.4. > You can try them out using this CFC: > http://www.massimocorner.com/coldfusion/cfc/tmt_java_regexp.zip > > Then run something likethis: > <cfset regExpObj=CreateObject("component","tmt_java_regexp")> > <cfdump var="#regExpObj.regExpMatches("(ab)+?", "abababababababab", 1)#" > label='regExpMatches("(ab)+?", "abababababababab", 1)'> > <cfdump var="#regExpObj.regExpMatches("(ab)++", "abababababababab", 1)#" > label='regExpMatches("(ab)++", "abababababababab", 1)'> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase Studio MX from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=50 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:877 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
