Using a slightly modified example from the documentation (with an added newline):
+ knock knock
- Who's \n
^ there?
+ *
% who * there
- <star> who?
+ *
% * who
- LOL! <star>! That's funny!
If I now follow the script, the final statement (LOL ...) is never reached. I suspect it is probably due to how the regex matching is being done here https://github.com/aichaos/rivescript-python/blob/master/rivescript/brain.py#L503. Adding the re.DOTALL flag would most likely fix this issue, but not sure if that is the correct answer here (I'm relatively new to rivescript). Any thoughts?