Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/18/2013
Components: Language
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Platforms All
Vote Count: 3
See http://cfmlblog.adamcameron.me/2013/07/replacewithcallback-udf-for-cflib-and.html for discussion.
Basically:
I was looking up the docs for Javascript's String replace() function the other day [and] I also noticed it can take a callback instead of a string for its replacement argument. How cool is that?
I figured this could be handy for CFML's reReplace() function too [... etc]
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3597432
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: