summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3e2a6f0)
Ignored when applied to match function, even following a RegExp.
else {
// title text (case-insensitive unless caps in input)
var match = function(row) {
else {
// title text (case-insensitive unless caps in input)
var match = function(row) {
- return row.cells[1].textContent.match(query, /[A-Z]/.test(query) ? '' : 'i');
+ return row.cells[1].textContent.match(new RegExp(query, /[A-Z]/.test(query) ? '' : 'i'));
};
}
filterrows(table, match, action || 'filter');
};
}
filterrows(table, match, action || 'filter');