As the captured command-line of processes are expanded, e.g. npm install becomes "C:\Users\...\node.exe" "C:\Users\...\npm-cli.js" install, rule matching needs to be complex.
Regex would be helpful in for example "anything, followed by 'npm-cli.js' followed by an optional single or double quotation mark, followed by 1-n number of spaces, followed by 'install', followed by anything"
Currently only glob patterns are supported, which is quite limited in expressivity. I believe the dependency compile glob patterns to regexes anyway so adding support would be easy.
As the captured command-line of processes are expanded, e.g.
npm installbecomes"C:\Users\...\node.exe" "C:\Users\...\npm-cli.js" install, rule matching needs to be complex.Regex would be helpful in for example "anything, followed by 'npm-cli.js' followed by an optional single or double quotation mark, followed by 1-n number of spaces, followed by 'install', followed by anything"
Currently only glob patterns are supported, which is quite limited in expressivity. I believe the dependency compile glob patterns to regexes anyway so adding support would be easy.