From a65947a81a2047bb05dad59d5fd3ccee09236605 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 20 Oct 2017 20:15:02 -0400 Subject: Fix grammar bug Fixes #51 Fixes #53 --- META6.json | 4 ++-- lib/IRC/Client/Grammar.pm6 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/META6.json b/META6.json index 87b5811..a669bc2 100644 --- a/META6.json +++ b/META6.json @@ -2,7 +2,7 @@ "perl" : "6.c", "name" : "IRC::Client", "license" : "Artistic-2.0", - "version" : "3.007003", + "version" : "3.007004", "description" : "Extendable Internet Relay Chat client", "tags" : [ "Net", "IRC" ], "depends" : [ @@ -21,5 +21,5 @@ "IRC::Client::Server" : "lib/IRC/Client/Server.pm6" }, "authors" : ["Zoffix Znet"], - "support" : {"source" : "git://github.com/zoffixznet/perl6-IRC-Client.git"} + "support" : {"source" : "https://github.com/zoffixznet/perl6-IRC-Client.git"} } diff --git a/lib/IRC/Client/Grammar.pm6 b/lib/IRC/Client/Grammar.pm6 index a80b79f..4037d43 100644 --- a/lib/IRC/Client/Grammar.pm6 +++ b/lib/IRC/Client/Grammar.pm6 @@ -3,7 +3,7 @@ token TOP { + } token left-overs { \N* } token SPACE { ' '+ } token message { [':' ]? \n } - token prefix { + regex prefix { [ || ['!' ]? ['@' ]? ] > } -- cgit v1.1