Eliminates use of deprecated[1] RegExp.$1 syntax, and a stray space in IRC vote lists.

 [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features#RegExp_Properties