InspIRCd v2 is coming to the end of its lifetime!

Fixes for security vulnerabilities will be provided until 2021-01-01 but after this date v2 will no longer be maintained.

InspIRCd v3 contains many new features including full support for all currently ratified IRCv3 extensions and WebSocket connections.

InspIRCd v3 installation instructions are available here and a list of breaking changes is available here.

The "regex_stdlib" Module

This module depends on C++11-specific features and must be manually enabled at compile time.

If you are building with a C++11-compatible compiler you can enable this module using the following command:

./configure --enable-extras m_regex_stdlib.cpp

Description

This module provides a regular expression engine which uses the C++11 std::regex regular expression matching system.

Configuration

To load this module use the following <module> tag:

<module name="m_regex_stdlib.so">

<stdregex>

The <stdregex> tag defines settings about how the regex_stdlib module should behave. This tag can only be defined once.

Name Type Default Value Description
type Text ecmascript The regular expression grammar to use when matching.

The type field should be set to one of the following values:

Value Description
awk Use the regular expression grammar used by the awk utility in POSIX.
bre Use the basic POSIX regular expression grammar.
ecmascript Use the modified ECMAScript regular expression grammar.
egrep Use the regular expression grammar used by the grep utility, with the -E option, in POSIX.
ere Use the extended POSIX regular expression grammar.
grep Use the regular expression grammar used by the grep utility in POSIX.
Example Usage
<stdregex ecmascript="yes">