Botframework-sdk: [Known Issue] Why does BotBuilder.Prompts.number method parse like this?

Created on 26 Oct 2016  路  7Comments  路  Source: microsoft/botframework-sdk

I am using BotBuilder.Prompts.number method.

What is the purpose of parsing like this (check bellow) and not reject it and consider it like something that is not a real number?
Input: v66v6 -> Parsed answer: 66

bug

Most helpful comment

The RegEx we're using doesn't look to be strict enough. I'll try to improve it.

All 7 comments

based on the syntax I assume that this is a node.js bug. Can you confirm this?

The RegEx we're using doesn't look to be strict enough. I'll try to improve it.

@Stevenic or @maxpert did 3.5 fix this?

It's not in 3.5. I'll have to work on it for 3.6

Enhancements for number parser still needed, reopening issue.

@Stevenic Any updates on the number recognizer fix?

Currently, this is expected behavior.

Was this page helpful?
0 / 5 - 0 ratings