aichaos / rivescript

RiveScript is a scripting language for authoring chatbots.
https://www.rivescript.com/
MIT License
19 stars 5 forks source link

bug on utf-8 #3

Closed RuiPMoreira closed 7 years ago

RuiPMoreira commented 7 years ago

hey,

I think that i found a bug on utf-8 Check this example: https://play.rivescript.com/s/sQv6391jAF

Ty

kirsle commented 7 years ago

It's a known issue when using optionals with unicode. There's a longer discussion here: https://github.com/aichaos/rivescript-js/issues/147

I plan to fix it eventually by adding a ~Regexp command to the language that allows you to define a trigger by manually providing the regexp. You can track that issue here: https://github.com/aichaos/rivescript-wd/issues/6