hotsh/rstat.us — pull request #672 by egrajeda (2012-10-02 02:35:24+00:00)
Title: Escaping the autocomplete regexp to fix #666

This is the test and code that fixes hotsh/rstat.us#666, regarding the sanitization of the autocomplete regexp.

I also deleted an extra `.downcase` that wasn't needed since the comparison ignores case.

Let me know of any comment you may have.