diff options
author | Přemysl Janouch <p@janouch.name> | 2018-08-06 12:09:18 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-08-06 12:09:18 +0200 |
commit | 3fee7e8051dc65438e2e633f76c807d743f1a6ea (patch) | |
tree | 5520d6886d53ec43e98619e5fb949e3bdc95cf11 /xS/main.go | |
parent | 09d7a10b6997c805f87b3f6fae2a8de162b16e12 (diff) | |
download | xK-3fee7e8051dc65438e2e633f76c807d743f1a6ea.tar.gz xK-3fee7e8051dc65438e2e633f76c807d743f1a6ea.tar.xz xK-3fee7e8051dc65438e2e633f76c807d743f1a6ea.zip |
hid: port IRC tests from liberty, fix tag parsing
Diffstat (limited to 'xS/main.go')
-rw-r--r-- | xS/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ func ircFnmatch(pattern string, s string) bool { } var reMsg = regexp.MustCompile( - `^(@[^ ]* +)?(?::([^! ]*)(?:!([^@]*)@([^ ]*))? +)?([^ ]+)(.*)?$`) + `^(?:@([^ ]*) +)?(?::([^! ]*)(?:!([^@]*)@([^ ]*))? +)?([^ ]+)(.*)?$`) var reArgs = regexp.MustCompile(`:.*| [^: ][^ ]*`) type message struct { |