Bugs In AIML Ruby Parser-programR

Has anyone here ever used the ruby aiml parser
I’m using it to make a chat bot and found a serious bug:

Given I have these two category in aiml file:

* pace

* world halo Oops2

Then in chat:
type “the pace” bot will react with “Oops”
the “the world halo” bot will react with “Oops2”
and type “the world pace” bot will react with “”, but it should react
“Oops” cuz “*” should match “the world”.

I’ll appreciate that anyone can help me out.

Best Regards,
Ryan Cheung