IRCEventHandler.Regex

Embodies the notion of a chat command regular expression, e.g. ![Hh]ello+.

Members

Functions

expression
auto ref expression(string expression)

The regular expression this IRCEventHandler.Regex embodies, in string form.

Variables

_description
string _description;

Describes the functionality of the event handler function the parent IRCEventHandler annotates, and by extension, this IRCEventHandler.Regex.

_expression
string _expression;

The regular expression in string form.

_hidden
bool _hidden;

Whether this is a hidden command or if it should show up in help listings.

_policy
PrefixPolicy _policy;

In what way the message is required to start for the annotated function to trigger.

engine
StdRegex!char engine;

Regex engine to match incoming messages with.

Mixed In Members

From mixin UnderscoreOpDispatcher

opDispatch
auto ref opDispatch(T value)

Mutator.

opDispatch
auto ref opDispatch()

Accessor.