Works fine except for trailing whitespace in RegExp, means you always need a space after your query. Otherwise great :)