diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-10-14 16:27:00 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-10-14 16:27:00 +0200 |
commit | f35a817f5d54dd58c12f5d823e309749e4501c08 (patch) | |
tree | 6d1db97f7f59cc7242a90eb37ac1cfbae87bca13 /mew.svnwiki | |
parent | a6361db705521cb10c55e334352d5144dc146bb9 (diff) | |
download | mew-f35a817f5d54dd58c12f5d823e309749e4501c08.tar.gz mew-f35a817f5d54dd58c12f5d823e309749e4501c08.tar.xz mew-f35a817f5d54dd58c12f5d823e309749e4501c08.zip |
add gsplit
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 8 |
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 |