projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a591f9c
)
Allowing underscores within client hosts
author
Darren
<darren@darrenwhitlen.com>
Wed, 28 Nov 2012 18:48:32 +0000
(18:48 +0000)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 28 Nov 2012 18:48:32 +0000
(18:48 +0000)
server/irc/connection.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index 887903d2e73a90e52a8a35e0de924d695e8c13de..7bf86a0812458fee3800f9952f2c38d7726d1bf6 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-143,7
+143,7
@@
function findWebIrc(connect_data) {
-parse_regex = /^(?:(?:(?:(@[^ ]+) )?):(?:([a-z0-9\x5B-\x60\x7B-\x7D\.\-]+)|([a-z0-9\x5B-\x60\x7B-\x7D\.\-]+)!([a-z0-9~\.\-_|]+)@?([a-z0-9\.\-:\/]+)?) )?(\S+)(?: (?!:)(.+?))?(?: :(.+))?$/i;
+parse_regex = /^(?:(?:(?:(@[^ ]+) )?):(?:([a-z0-9\x5B-\x60\x7B-\x7D\.\-]+)|([a-z0-9\x5B-\x60\x7B-\x7D\.\-]+)!([a-z0-9~\.\-_|]+)@?([a-z0-9\.\-:\/
_
]+)?) )?(\S+)(?: (?!:)(.+?))?(?: :(.+))?$/i;
var parse = function (data) {
var i,
msg,