I filter a jQuery.dataTable dynamically calling the following method:
var table = $("#memberTable").dataTable({ bRetrieve: true });
var regex = "Facebook Twitter";
table.fnFilter(regex, 2, true);
I can build the regex argument to be passed to the dataTable as either "(Facebook)|(Twitter)", or Facebook|Twitter and it still won’t work on IE9. On Chrome and Firefox it works as expected. What could be the issue here? It’as as if IE didn’t match any of the regexes?
You may need to set the fourth parameter to false – it is the Datatables smartfilter and sometimes interferes with regex filtering: