Merge pull request #6 from spacepod/master

Fixing bug, removing extra closing brace.
Adding case-insentivity queries using complied anchored regex.