I have had a PowerApp in operation for over a year and it works fine. But now I suddenly have an error message with a datacard that I don't understand.
In a datacard, the app is supposed to check wether the email address entered (by people picker) corresponds to the email address of the current user. I have therefir used the following formula in the error message of the datacard:

Now this formula is shown to me as incorrect. The reason: "Regular expressions must be constand values".
Can anyone help me?
Many thanks for the support!