Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/regexplode b/doc/efun/regexplode
index 17970bc..ca67db8 100644
--- a/doc/efun/regexplode
+++ b/doc/efun/regexplode
@@ -1,13 +1,30 @@
SYNOPSIS
+ #include <regexp.h>
+
string * regexplode(string text, string pattern)
+ string * regexplode(string text, string pattern, int opt)
-BESCHREIBUNG
- regexplode() verhaelt sich aehnlich wie explode(), akzeptiert aber
- auch regulaere Ausdruecke als Trennzeichen. Im Ergebnisarray ist
- jedes zweite Element ein Trennzeichen.
+DESCRIPTION
+ This function is similar to explode but accepts a regular
+ expression <pattern> as delimiter (interpreted according to <opt>
+ if given).
-GESCHICHTE
- Eingefuehrt in 3.2@61.
+ If flag RE_OMIT_DELIM is not set in <opt>, then every second element
+ in the result vector will be the text that matched the delimiter.
+ If the flag is set, then the result vector will contain only
+ the text between the delimiters.
-SIEHE AUCH
- explode(E), regexp(E), regreplace(E)
+EXAMPLES
+ regexplode("abcdef", "cde") -> ({ "ab", "cde", "f" })
+ regexplode("abcdef", "cde", RE_OMIT_DELIM) -> ({ "ab", "f" })
+
+HISTORY
+ Introduced in 3.2@61.
+ LDMud 3.3 added the optional <opt> argument and the RE_OMIT_DELIM
+ flag.
+ Since 3.5.0 a error is raised if RE_PCRE is specified in <opt>, but
+ the driver lacks PCRE support.
+
+SEE ALSO
+ explode(E), regexp(E), regmatch(E), regreplace(E),
+ regexp_package(E), regexp(C)