Question is : Rivescript doen’t cut the trailing blanks after cleaning punctuation symbols
(I’am using the javacript interpreter,from aichaos/rivescript-js )
for example, with :
+ do you love me
- yes, i do !
if user enter :
do you love me ? (with a blank before ? ), this doen’t match
do you love me? works well
do you love me? doesn’t match
I can cut leading blanks before sending the sentence outside RiveScript, but not trailing as the ? are splitted inside interpreter,
=> this must be done inside interpreter. Is there some option that miss me ?