I've discovered an issue in MacroDroid where regex expressions can only be evaluated if the app is in the foreground. This bug impacts when I receive WhatsApp messages with three lines: the first one is classified using "Index = 0", and the other two lines contain an email and a number that I need to extract, for which I use regex expressions. I copy the message, activate the floating button, but the macro is unable to process the regex unless MacroDroid is in the foreground.