The "regex_stdlib" Module

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">