aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZoffix Znet <cpan@zoffix.com>2016-08-07 18:39:37 -0400
committerZoffix Znet <cpan@zoffix.com>2016-08-07 18:39:37 -0400
commitdd4390ce747b2aa4e5e1b3c7bea3640b4abea271 (patch)
tree3d503edab07a5b765c4f8d956b320ab875aa8d3d /docs
parent0e7c7f8d9da5806ece7b14734a402721127ffbc8 (diff)
Make addressed regex more restrictive
Fixes #21
Diffstat (limited to 'docs')
-rw-r--r--docs/02-event-reference.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/02-event-reference.md b/docs/02-event-reference.md
index 3e43ca0..cb3de1d 100644
--- a/docs/02-event-reference.md
+++ b/docs/02-event-reference.md
@@ -83,8 +83,9 @@ irc-addressed ▶ irc-to-me ▶ irc-notice-channel ▶ irc-notice ▶
This event chain is triggered when the client is addressed in a channel either
via a `PRIVMSG` or `NOTICE` IRC message. 'Addressed' means the message line
-starts with the current nickname of the client, followed by single whitespace character, `;`, or `,` characters, followed by any number of whitespace; or
-in regex terms, matches `/^ $nick <[,:\s]> \s* /`. This prefix portion will be
+starts with the current nickname of the client, followed by `;` or `,`
+characters, followed by any number of whitespace; or
+in regex terms, matches `/^ $nick <[,:]> \s* /`. This prefix portion will be
**stripped** from the actual message.
Possible message objects received by event handler: