Why does LUIS regex entity doesn't recognize SPACE/Whitespace?

sharms 1 Reputation point
2020-07-15T08:50:15.02+00:00

Hi, I'm trying to add a luis regex entity with a space.
This is the regex pattern:
([a-zA-Z]{1,3}\d{1,6}\s){1,6}

Basically, I have two utterance that contain an identical entity: one without any comma, and the other has one.
Utterance: Get flight detail of ID TNW12345 bound for LA.
Utterance2: Check detail of plane number TNW12345,LA.

This is the reason why I created a regex pattern with space to differentiate the two entity.
But when checking the utterances, it won't recognize the entity.

Is this a bug?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.