Feature request: Use regex for ingredient import automation #2574
CrackSlowth
started this conversation in
Ideas
Replies: 1 comment
-
i created an issue from this, definitely an enhancement for the future. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As discussed with @smilerz in Discord:
Is it possible to remove some custom keywords from imported recipes?
For instance, I have a lot of recipes that contains "2 tbsp of garlic", "2kg of beef" (in french btw)
Resulting in ingredients called "of garlic" and "of beef"
Regex could be used for ingredients instead of plain replacement
To avoid breaking any existing automation, unused param 3 could be checked and if it equals to "regex" then it does the re.sub, otherwise normal/old replacement
Beta Was this translation helpful? Give feedback.
All reactions