karma: fixed things up according to pull request comments

Docstring changed
useri -> user
fixed up the regex to avoid collisions with the regex plugin