Permalink
Browse files

small regex fix so that comments parse correctly

  • Loading branch information...
1 parent edc6816 commit 17191d60981208e6b3063ead9025b678e1139530 @edsu committed Nov 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 irc.js
View
2 irc.js
@@ -43,7 +43,7 @@ function listen(config, callback) {
function parse_msg(msg, config) {
// i guess this means i have two problems now? :-D
- var m = /\x0314\[\[\x0307(.+?)\x0314\]\]\x034 (.*?)\x0310.*\x0302(.*?)\x03.+\x0303(.+?)\x03.+\x03 (.*) \x0310(.*)\x03?.*/.exec(msg[1]);
+ var m = /\x0314\[\[\x0307(.+?)\x0314\]\]\x034 (.*?)\x0310.*\x0302(.*?)\x03.+\x0303(.+?)\x03.+\x03 (.*) \x0310(.*)\u0003.*/.exec(msg[1]);
if (! m) {
console.log("failed to parse: " + msg);
return null;

0 comments on commit 17191d6

Please sign in to comment.