Skip to content

Support regex in command matching #1

Description

@endernoke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions