-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Feature]: Exact pattern matching #361
Comments
I don't fully understand your integration issue. Are you pulling on calendar entries that you have control over or are you pulling from a calendar run by your garbage collection or council entity? If it is your own calendar, then perhaps putting unique names yourself rather than relying on the standard format. If it is an external calendar you cannot edit, how often does the actual routine change? If it is a set routine for YOUR bin collection, maybe ignoring the provided calendar and creating your own entries would be the easiest and simplest way to achieve this. Just spit balling solutions whilst a feature addition is still a ways off. |
Thanks for asking questions for clarifications. We are using a provided calendar. Our city offers two service levels for garbage, they show up in the calendar as "Restmüll" und "Restmüll (grüner Deckel)" which translates to "Garbage" and "Garbage (green lid)". |
That's super frustrating @stieler-it . I don't have the knowledge or ability to fix the backend on this, but perhaps copying the calendar over to one you control and removing the bins that aren't relevant or renaming to 'more unique' names would be the work around for now. @idaho is there a simple fix to the coding for this add on that would allow this shortened and extended versions of names to be seen as unique? |
Thank you, it's not frustrating just a small inconvenience happening every few weeks. |
Requirements
Is your feature request related to a problem?
Our city offers different frequencies of pickup of the same trash type. The workers can identify it by the color of the lid of the trashcans and this also leads to similar names in the ICS, e.g. "Paper" and "Paper (yellow lid)". If I now specify a pattern of "Paper" it matches both, although I only want to match the first one.
Describe the solution you'd like
Add an option "exact match" to define a pattern that needs to, well, match exactly, not just a part of the entry
Describe alternatives you've considered
I also thought about integrating regular expressions. So one could write
^Paper$
. Maybe there could be some kind of auto-detection if the pattern is a string or a reg.exp.Additional context
No response
The text was updated successfully, but these errors were encountered: