diff options
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 |