Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small regex fix so that comments parse correctly

  • Loading branch information...
commit 17191d60981208e6b3063ead9025b678e1139530 1 parent edc6816
Ed Summers authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  irc.js
2  irc.js
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.