diff options
author | Nicolas Williams <nico@cryptonector.com> | 2015-01-12 10:47:43 -0600 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2015-01-12 10:47:43 -0600 |
commit | d630597e870b9e1c14dfbc6a076f6f1c342b250f (patch) | |
tree | fc34c5e1dc81956e2b7c9ca15e958422096b497a | |
parent | 60d1ecb58a7987ab1ba6e8fe6ff4991c6b2ac420 (diff) |
Fix docs for `split/0`
-rw-r--r-- | docs/content/3.manual/manual.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 2c0ef071..c57c2c4a 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -1297,8 +1297,8 @@ sections: examples: - program: 'split(", ")' - input: '"a, b,c,d, e"' - output: ['["a","b,c,d","e"]'] + input: '"a, b,c,d, e, "' + output: ['["a","b,c,d","e",""]'] - title: "`join(str)`" body: | @@ -1935,12 +1935,7 @@ sections: - title: "`split(regex; flags)`" body: | - For backwards compatibility, `split` emits an array of the strings - corresponding to the successive segments of the input string after it - has been split at the boundaries defined by the regex and any - specified flags. The substrings corresponding to the boundaries - themselves are excluded. If regex is the empty string, then the first - match will be the empty string. + For backwards compatibility, `split` splits on a string, not a regex. example: - program: 'split(", *"; null)' |