Cognigy / Documentation

Stores documentation for all Cognigy products and acts as the source for https://docs.cognigy.com
Other
13 stars 3 forks source link

[Feedback] Regex Slot Filler - /ai/flow-nodes/nlu/regex-slotfiller/ #29

Closed MaciejLitwiniec closed 12 months ago

MaciejLitwiniec commented 1 year ago

There seems to be a typo in given example.

Example: * /^1\d{​​​​7}​​​​$/g.

In regular expressions, the asterisk * is a quantifier that means "zero or more occurrences of the preceding element." However, in the regex pattern you've provided, the asterisk appears to be placed outside of the regular expression itself and not in the context of its usual function within a pattern.

CognigyTechWriter commented 1 year ago

Hello MaciejLitwiniec,

We have made improvements to this article. Thank you for your feedback!

MaciejLitwiniec commented 1 year ago

I would also remove dot from end of example. It is not value adding while it can introduce an error.

CognigyTechWriter commented 12 months ago

Thank you. We fixed the page.