2016-08-17 14:36:28 +00:00
|
|
|
module.exports = function (item, itemOptions, source) {
|
2016-08-18 08:52:46 +00:00
|
|
|
var patt = /(drupal|SHAREPOINT|per annum|ServiceNow|Test Lead|User Researcher|Service Management|\(PERM\)|£\d.K|Remedy|ITSM|Symfony|Zend|Full Time|Technical Business Analyst)/ig;
|
|
|
|
|
|
|
|
var engineers = /(Support|Devops)\s(Engineer)/ig;
|
|
|
|
var developers = /(Java|PHP|Graduate|Access)\s(Developer)/ig;
|
|
|
|
var architects = /(Java|PHP|Microsoft)\s(Architect)/ig;
|
|
|
|
|
|
|
|
var result = patt.test(description) || engineers.test(description) || developers.test(description) || architects.test(description);
|
|
|
|
var resultB = patt.test(title) || engineers.test(title) || developers.test(title) || architects.test(title);
|
|
|
|
|
2016-08-17 14:36:28 +00:00
|
|
|
return (result||resultB === true) ? -1 : itemOptions;
|
|
|
|
|
|
|
|
};
|