tighter jobs-special

This commit is contained in:
Martin Donnelly 2018-08-09 17:41:48 +01:00
parent 7304d9b9c2
commit 5d29943b99
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
"default_count": 1,
"no_cdata_fields": [],
"plugins": [
"filter_show",
"filter_location",
"filter_reject",
"filter_md_jobs",

View File

@ -3,7 +3,7 @@ module.exports = function (item, itemOptions, source) {
const engineers = /(Support|Devops|Planning|security|Postgresql|network|sccm|test|data|imac|firewall|vmware)+(?:\s)(?=Engineer)/ig;
const developers = /(Java|PHP|Graduate|Access|Oracle ADF|SHAREPOINT|Ruby on Rails|Java Software|IOS|Qlikview)+(?:\s)(?=Developer)/ig;
const architects = /(Java|PHP|Microsoft)\s(Architect)/ig;
const architects = /(Java|PHP|Microsoft)+(?:\s)(?=Architect)/ig;
const result = patt.test(itemOptions.description) || engineers.test(itemOptions.description) || developers.test(itemOptions.description) || architects.test(itemOptions.description);
const resultB = patt.test(itemOptions.title) || engineers.test(itemOptions.title) || developers.test(itemOptions.title) || architects.test(itemOptions.title);