fix regex so it includes last char of query string; make case insensitive
expected reply was missing last character of query string
prevent query with @ triggering both routes
Merge pull request #1 from tristaneuan/master

fix regex so it includes last char of query string; make case insensitive