Permalink
Browse files

amended nickname regex

  • Loading branch information...
1 parent d224cfc commit 333e148ca44ad34b13e761364b828b1cc746c1b3 @deoxxa committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 parser.js
View
2 parser.js
@@ -38,7 +38,7 @@ Parser.prototype.write = function write(data) {
return this.writable && !this.paused;
};
-var RE_NICK = /^([a-z][a-z0-9\-\[\]\\`^\{\}]*)(?: |!|@)/i,
+var RE_NICK = /^([a-z][a-z0-9\-\[\]\\`^\{\}_]*)(?: |!|@)/i,
RE_USER = /^([^ \r\n@]+)/,
RE_SERVER = /^((?:[a-z][a-z0-9-]*\.)*(?:[a-z][a-z0-9-]*))/i,
RE_COMMAND = /^(\d{3}|[A-Z]+)/;

0 comments on commit 333e148

Please sign in to comment.