Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle multiple patterns for one file #14

Open
trulsma opened this issue Oct 31, 2023 · 1 comment
Open

Handle multiple patterns for one file #14

trulsma opened this issue Oct 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@trulsma
Copy link
Owner

trulsma commented Oct 31, 2023

As of now the first matching pattern is used for a file. Is there a way to use multiple patterns? This would complicate things.

Two options that come to mind

  • Combine the matches e.g match 1 from pattern A is a child of match 2 from pattern B, problem is that the ranges would not line up. Also qualifiers logic would be complicated.
  • Treat them as two distinct sets. For things like status this could be good but for adding it might cause weird results
@trulsma trulsma added the enhancement New feature or request label Oct 31, 2023
@trulsma
Copy link
Owner Author

trulsma commented Nov 1, 2023

Is this something we even want?? Maybe instead we only allow one pattern per file and add some priority to the patterns?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant