I am facing a strange issue w.r.t validators.
I am basically taking a number as user input. If the user provides anything that is not a number, I want my validator to send a simple reply.
If i provide a number say user input is "12345" with the condition if #number.scalar matches ^[0-9]*, the validator gets triggered.
But I want it to trigger when it does not match the regular expression.
So, If i say user input is "ab12345", with the condition if #number.scalar matches-not ^[0-9]*
it does not trigger anything. It instead goes to the default fallback skill.
Can you please advise on the right way to use validators.
My requirement is basically simple and I just want to do something with validators if the user enters a non numeric invalid value.
Thanks & Regards,