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

Allow regular expressions as keywords #39

Open
thomasmerz opened this issue Feb 6, 2022 · 2 comments
Open

Allow regular expressions as keywords #39

thomasmerz opened this issue Feb 6, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@thomasmerz
Copy link

Is your feature request related to a problem? Please describe.
This is related to #38
I'm always frustrated when I have to define many keywords that I could also define with a regex.

Describe the solution you'd like
For example it should be possible to define something like that:

   - location: title
     keywords:
       - 'pi?hole.*adblock*'
     labels:
      - pi-hole
      - adblocking

Describe alternatives you've considered
Alternatives right now are defining many keywords:

   - location: title
     keywords:
       - 'pi-hole'
     labels:
      - pi-hole
      - adblocking
   - location: title
     keywords:
       - 'pihole'
     labels:
      - pi-hole
      - adblocking

Additional context
There's no any other context or screenshots about the feature request here.

@thomasmerz
Copy link
Author

@riyadhalnur , did you found some time to have a look at my issue?

@riyadhalnur
Copy link
Owner

riyadhalnur commented May 12, 2022

@thomasmerz i won't have time to look into this anytime soon. Please feel free to contribute a PR to add this feature.

@riyadhalnur riyadhalnur added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants