Closed SaidMavlyan closed 6 years ago
Would be nice to have regex support in dialog configurations, like:
let script = [ { "user": "hi" }, { "bot": "/hi|welcome/" } ];
Would match hi or welcome as valid response.
hi
welcome
Regex is supported, we need to type regex without quotes. So for mentioned example, write "bot": /hi|welcome/
"bot": /hi|welcome/
Would be nice to have regex support in dialog configurations, like:
Would match
hi
orwelcome
as valid response.