InspIRCd v4 is still early in development!

If you use this branch you may experience crashes, weird behaviour, and unannounced breaking changes.

You probably want to use InspIRCd v3 instead.

The "regex_stdlib" Module (v4)

Description

This module provides the stdregex 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="regex_stdlib">

<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 type="ecmascript">