Rinser/plugins/filter_reject.js
Martin Donnelly 63c0612328 fixed plugins
2016-08-17 17:10:26 +01:00

8 lines
421 B
JavaScript

module.exports = function (item, itemOptions, source) {
var patt = /(drupal|SHAREPOINT|Support Engineer|per annum|Devops Engineer|ServiceNow|Test Lead|User Researcher|Service Management|\(PERM\)|Java Developer|£\d.K|Remedy|ITSM|Symfony|Zend|PHP Developer)/ig;
var result = patt.test(itemOptions.description);
var resultB = patt.test(itemOptions.title);
return (result||resultB === true) ? -1 : itemOptions;
};