kirsle/rivescript-python — pull request #3 by dinever (2013-05-12 08:37:13+00:00)
Title: Hey Noah,I think i've found a bug in rivescript-python :)

when i'm using

+ your age{weight=10}
- It's

+ your age is #{weight=1}
- OK, my age is >.

and when i inputed messages, the bot replied like this:
You> your age is 33
Bot> OK, my age is 33.
You> your age?
Bot> Do you want my age?
You> your age?
Bot> What makes you think of my age?

by checking the source code, i found the bug that the program tried to match 'your age' with 'your age{weight=10}'.
after fixing this, i got correct answers from the bot:

You> your age is 33
Bot> OK, my age is 33.
You> your age?
Bot> It's 33

Best wishes
-Dinever