RegEx match special character in Dialogflow

Viewed 75

I have problem matching with an intent this kind of words "¿Cómo", "¿Que" etc.

I tried creating an entity with the following regex: ¿\w+. but it doesn't work. Any idea? Here are some prints of the Intent, Entity and Validation warnings:

Intent detail: Intent detail Entity detail: Entity detail Validation warnings: Validation Warnings

1 Answers

You may use the \x notation instead of a literal Unicode char:

\xbf\w+

where \xbf stands for the ¿ char.

Related