Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Feat/allow shell glob patterns #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Alkindi42
Copy link

Resolves #72

Output profiles can contain shell glob patterns:
```
{

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have an extra line here.

@@ -45,6 +46,15 @@ enabled if all of the listed outputs are connected.
}
```

Output profiles can contain shell glob patterns:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And missing one line here.

Comment on lines -24 to +25
(strchr(output->name, ' ') != NULL &&
strstr(head->description, output->name) != NULL);
fnmatch(output->name, head->description, 0) == 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't you removing the substring match functionality here? Is it intentional?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Use regex in output name
2 participants