diff --git a/.idea/workspace.xml b/.idea/workspace.xml index eb7a47f..6ab6c10 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,8 @@ - - + @@ -53,11 +52,11 @@ - + - - + + @@ -74,13 +73,13 @@ - - + + - + @@ -227,10 +226,10 @@ @@ -606,21 +605,7 @@ - - - - 1500371930584 - - - 1500371992812 - 1500372139110 @@ -951,11 +936,25 @@ - \ No newline at end of file diff --git a/plugins/filter_reject.js b/plugins/filter_reject.js index e678cdf..1a37ae9 100644 --- a/plugins/filter_reject.js +++ b/plugins/filter_reject.js @@ -1,8 +1,8 @@ module.exports = function (item, itemOptions, source) { const patt = /(T24|Test Analyst|Insight Analyst|application tester|senior tester|Salesforce|QlikView|Navision|Murex|seo|django|drupal|SHAREPOINT|per annum|ServiceNow|Test Lead|User Researcher|Service Management|\(PERM\)|£\d.K|Remedy|ITSM|Symfony|Zend|Full Time|Technical Business Analyst|BUSINESS ANALYST|AUTOMATION TESTER|FIELD TECHNICIAN|websphere administrator|Research Data Scientist)/ig; - 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|C\++)/ig; + 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 result = patt.test(itemOptions.description) || engineers.test(itemOptions.description) || developers.test(itemOptions.description) || architects.test(itemOptions.description);