From a6656edc7c888c7ebb0ddfe791a7e325733eddd8 Mon Sep 17 00:00:00 2001 From: Eiichi Sato Date: Sun, 21 Dec 2014 03:22:38 +0900 Subject: [PATCH] Fix examples in manual --- docs/content/3.manual/manual.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 4ff730b9..07db3a44 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -1705,11 +1705,10 @@ sections: examples: - program: 'test("foo")' input: '"foo"' - output: 'true' - - program: 'test("a b c # spaces are ignored"; "ix")' - input: '"xabcd" "ABC"' - output: true - true + output: ['true'] + - program: '.[] | test("a b c # spaces are ignored"; "ix")' + input: '["xabcd", "ABC"]' + output: ['true', 'true'] - title: "`match(val)`, `match(regex; flags)`" body: | @@ -1753,7 +1752,7 @@ sections: - program: '[ match("."; "g")] | length' input: '"abc"' - output: 3 + output: [3] - title: "`capture(val)`, `capture(regex; flags)`" @@ -1802,7 +1801,7 @@ sections: output: ['"ab","cd","ef"'] - - title: "`splits(regex)`, splits(regex; flags)`" + - title: "`splits(regex)`, `splits(regex; flags)`" body: | These provide the same results as their `split` counterparts,