Problem with SPServices regex selector and jquery.noConflict

Aug 16, 2014 at 3:09 PM
Edited Aug 16, 2014 at 8:02 PM
Hey Marc,

I recently changed a project to use jQuery.noConflict(true), mostly because its running on 365 and MS loads jQuery 1.82 on some pages (I don't want them to step on me and I don't want to step o them either). The project is also using SPServices 2014.01, and the change broke something in the regex selector at the end of the file, because it is using the global jQuery instead of the locally defined $. It was easy to fix, I just changed:
return regex.test(jQuery(elem)[attr.method](;
return regex.test($(elem)[attr.method](;