onRegex

Event handler regex test.

version(unittest)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.QUERY).permissionsRequired(Permissions.anyone).channelPolicy(ChannelPolicy.any).addRegex(IRCEventHandler.Regex().expression("unit[tT]est.*").description("Test regex description"))
void
onRegex