summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-10-14 16:27:00 +0200
committerLeah Neukirchen <leah@vuxu.org>2022-10-14 16:27:00 +0200
commitf35a817f5d54dd58c12f5d823e309749e4501c08 (patch)
tree6d1db97f7f59cc7242a90eb37ac1cfbae87bca13 /mew.svnwiki
parenta6361db705521cb10c55e334352d5144dc146bb9 (diff)
downloadmew-f35a817f5d54dd58c12f5d823e309749e4501c08.tar.gz
mew-f35a817f5d54dd58c12f5d823e309749e4501c08.tar.xz
mew-f35a817f5d54dd58c12f5d823e309749e4501c08.zip
add gsplit
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki8
1 files changed, 8 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 91bdf79..3372ff3 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -218,6 +218,14 @@ Returns a generator that for each match of the irregex {{<irx>}} in
 the string {{<str>}} either yields the match, or a list of all
 match data strings (if there are any).
 
+<procedure>(gsplit <irx> <str> <max>?)</procedure>
+
+Returns a generator that yields the strings between matches of the
+irregex {{<irx>}} in the string {{<str>}}, at most {{<max>>} times
+(by default, unlimited).
+
+When the pattern {{<irx>}} uses match data, the result is unspecified.
+
 
 == Special syntax