Regex in UiPath apps

It is validating on regex 101 website, but when I am entering the regex pattern in UiPath apps regex field then it is not throwing an error if I enter any text or number in that textbox.