You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this is a common problem across multiple implementations of RiveScript (e.g. aichaos/rivescript-js#147, aichaos/rivescript-python#37); with optionals in particular, the word-boundary regexp sequence \b doesn't work well with certain Unicode characters.
I've determined that the best way to fix this is to allow authors to use literal regular expressions to work around the particular edge cases when they come up. I haven't been able to find a way to fix RiveScript's "simplified regexps" to support these edge cases without breaking the normal cases. However, none of the implementations have added the ~Regexp support yet.
I'll update and close this ticket when the Go version gains this feature.
trigger
works fine
but
doesn't works
Any idea how to solve such situation?
The text was updated successfully, but these errors were encountered: