Using the following code, results in the "ResultOfIsMatch" variable being set to "false" when it should be set to "true". See screenshots showing IsMatch evaluates to true but variable is set to false. This code was used on the app's OnStart property. (Code below is obviously using a regex that will always evaluate to true, but this is just for the purposes of demonstrating the issue.)
If(
IsMatch(
User().Email,
"\.\*"
),
Set(ResultOfIsMatch, true),
Set(ResultOfIsMatch, false)
)
Similarly, trying to set a variable to the value returned by IsMatch sets the variable to false.
Set(
ResultOfIsMatch,
IsMatch(
User().FullName,
"\.\*"
)
)
Am I simply using this function wrong? This is not the behavior I would expect.