rem: return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return c.className ? Element.hasClassName(c, className) : false; })].flatten(); 
add: var results = $A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return (c.className && c.className.match(classNameRegExp)); }); 
context:   return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) {     return c.className ? Element.hasClassName(c, className) : false;  })].flatten();
meta: 1227	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1227/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/effects.js/buggy/actionpack/lib/action_view/helpers/javascripts/effects.js