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
This is a known bug, the root cause of which is the \b word-boundary metacharacter in the JavaScript regular expression engine. Python's regexps have the same problem, but other languages can handle it fine.
My best idea for a future workaround is to allow users to write raw regular expressions in RiveScript for these cases instead of the standard "simplified regexps" of the +Trigger. The discussion about that is over at aichaos/rivescript-wd#6.
hi
if I type [*]出国[*]留学 , it is expected to accept 出国留学 or 要出国要留学. Unfortunately, it is not.
My workaround is to have four statements *出国*留学 , 出国留学 , *出国留学 , 出国*留学
It does not look nice.
Thanks,
The text was updated successfully, but these errors were encountered: