summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-04-02 13:06:48 -0400
committerAdam <Adam@anope.org>2014-04-02 13:08:14 -0400
commit52bc8e4bc799d38e92d38d497a2bd055950841bb (patch)
treeb80ea985f1adffa43ca046c014e3b81f9404db8d /data
parentee133c03f206a7fab78a700b183fbc8684b9d6bf (diff)
Remove regex mods, use std::regex instead
Diffstat (limited to 'data')
-rw-r--r--data/example.conf8
-rw-r--r--data/modules.example.conf22
2 files changed, 4 insertions, 26 deletions
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
@@ -366,28 +366,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
*
* Allows rewriting commands sent to/from clients.