Can Detox toHaveText method be used with a Regexp ? If not, what equivalent solution can be used?
It seems that the [toHaveText(text)](https://wix.github.io/Detox/docs/api/expect#tohavetexttext) detox method accepts only a plain static string (no regexp).
However, we sometimes need to deal with dynamic texts or text patterns.
Is there a way to check for string patterns like `There are 4 connected devices`, 4 being dynamic and potentially being some other numeric value?