From 52bc8e4bc799d38e92d38d497a2bd055950841bb Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 2 Apr 2014 13:06:48 -0400 Subject: Remove regex mods, use std::regex instead --- data/example.conf | 8 ++++---- data/modules.example.conf | 22 ---------------------- 2 files changed, 4 insertions(+), 26 deletions(-) (limited to 'data') diff --git a/data/example.conf b/data/example.conf index e7b5627ee..a4f3ac886 100644 --- a/data/example.conf +++ b/data/example.conf @@ -515,12 +515,12 @@ options */ hideregisteredcommands = yes - /* The regex engine to use, as provided by the regex modules. - * Leave commented to disable regex matching. + /* + * The grammar regular expressions should use. Options are "ecmascript", "basic", "extended", "awk", "grep", and "egrep". * - * Note for this to work the regex module providing the regex engine must be loaded. + * This directive is optional. */ - regexengine = "regex/pcre" + regexengine = "ecmascript" /* * A list of languages to load on startup that will be available in /nickserv set language. diff --git a/data/modules.example.conf b/data/modules.example.conf index 86b83b583..b7644537d 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -365,28 +365,6 @@ module { name = "help" } } } -/* - * m_regex_pcre [EXTRA] - * - * Provides the regex engine regex/pcre, which uses the Perl Compatible Regular Expressions library. - */ -#module { name = "m_regex_pcre" } - -/* - * m_regex_posix [EXTRA] - * - * Provides the regex engine regex/posix, which uses the POSIX compliant regular expressions. - * This is likely the only regex module you will not need extra libraries for. - */ -#module { name = "m_regex_posix" } - -/* - * m_regex_tre [EXTRA] - * - * Provides the regex engine regex/tre, which uses the TRE regex library. - */ -#module { name = "m_regex_tre" } - /* * m_rewrite * -- cgit