Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 04/27/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: PublicBeta / CF11 Update5
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 0
See:
http://cfmlblog.adamcameron.me/2014/04/bugs-in-iterator-functions-in-both.html
Repro:
original = "11,23;31:43^53-61";
delims = ",;:^-";
filtered = listFilter(original,function(v){
return reFind("3$", v);
},delims);
writeDump([original,filtered]);
On both Railo (4.2.0.007) and ColdFusion (11 beta) we get this:
Array
1
string 11,23;31:43^53-61
2
string 23,;:^-43,;:^-53
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3750733
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: