I don't know how to help you if you say it doesn't work on your side with the sample example you gave us...There are no device constraints ... Just want to target whatsapp notications for specific words pattern in notification content as specified above the 2 words with space in between.
I don't know how to help you if you say it doesn't work on your side with the sample example you gave us...
They ARE the experts...!Waiting for the Experts to help me fix this
Its working if we use pop up before writting file but with strange behaviour it doesnot work with multiple set of words to match from or using word boundaries. How to cope up with thisThey ARE the experts...!
There might be an issue with the trigger or the regex used. Change the actions to a simple popup with something like "triggered" and send yourself (using another device) a test message that should match, and see if it works.
If it does, then there might be an issue with the actions.
If it doesn't, change the notification trigger to match anything from Whatsapp and send yourself anything and see if the macro triggers.
If it does then there probably is a problem with the regex or with the messages you want it to trigger on or MacroDroid hasn't been properly excluded from battery optimizations.
It if doesn't, then the notification trigger doesn't have the correct permissions or MacroDroid hasn't been properly excluded from battery optimizations.
To see if battery optimization is the problem, run the tests with MacroDroid opened.
In all cases check the troubleshooting section of the app (button in top left corner on main app screen -> Troubleshooting).
For example we have set of phrases in regexIts working if we use pop up before writting file but with strange behaviour it doesnot work with multiple set of words to match from or using word boundaries. How to cope up with this
To me it works without parenthesesFor example we have set of phrases in regex
(Jack John|Mary Jane|Peter Parker|Bruce Wayne)
It will not match any phrase from set but will match if any single phrase like Mary Jane is an option to match using regex
Wondering why it is happening now
Jack John|Mary Jane|Peter Parker|Bruce Wayne
Figured out the problem ... Even if you have checked case insensitive using regex still you have to include in regex expression thats how its workingTo me ot works without parentheses
Jack John|Mary Jane|Peter Parker|Bruce Wayne
Case insensitive checkbox is only available with plain/regular matching. Not Regex. So if you need to make such a search, you must add it in your Regex rule (as you did it)Figured out the problem ... Even if you have checked case insensitive using regex still you have to include in regex expression thats how its working
(?i)(Jack John|Mary Jane|Peter Parker|Bruce Wayne).*
Thanks bro for the info ....Case insensitive checkbox is only available with plain/regular matching. Not Regex. So if you need to make such a search, you must add it in your Regex rule (as you did it)