Remove "Requires 1.5" from manuals

No longer necessary now that manuals are versioned.
This commit is contained in:
David Tolnay committed 2015-09-13 18:57:11 -07:00
1 parent 83e8ec587f
commit 1758c1ba74
2 files changed
+16 -16

No files matched your search

+8 -8
View File
@@ -1022,7 +1022,7 @@ sections:
input: '[]'
output: ["true"]
- title: "\\[Requires 1.5\\] `flatten`, `flatten(depth)`"
- title: "`flatten`, `flatten(depth)`"
body: |
The filter `flatten` takes as input an array of nested arrays,
@@ -2065,7 +2065,7 @@ sections:
evaluates to: true, true, false, false.
entries:
- title: "\\[Requires 1.5\\] `test(val)`, `test(regex; flags)`"
- title: "`test(val)`, `test(regex; flags)`"
body: |
Like `match`, but does not return match objects, only `true` or `false`
@@ -2079,7 +2079,7 @@ sections:
input: '["xabcd", "ABC"]'
output: ['true', 'true']
- title: "\\[Requires 1.5\\] `match(val)`, `match(regex; flags)`"
- title: "`match(val)`, `match(regex; flags)`"
body: |
**match** outputs an object for each match it finds. Matches have
@@ -2124,7 +2124,7 @@ sections:
output: [3]
- title: "\\[Requires 1.5\\] `capture(val)`, `capture(regex; flags)`"
- title: "`capture(val)`, `capture(regex; flags)`"
body: |
Collects the named captures in a JSON object, with the name
@@ -2136,7 +2136,7 @@ sections:
input: '"xyzzy-14"'
output: ['{ "a": "xyzzy", "n": "14" }']
- title: "\\[Requires 1.5\\] `scan(regex)`, `scan(regex; flags)`"
- title: "`scan(regex)`, `scan(regex; flags)`"
body: |
Emit a stream of the non-overlapping substrings of the input
@@ -2165,7 +2165,7 @@ sections:
output: ['"ab","cd","ef"']
- title: "\\[Requires 1.5\\] `splits(regex)`, `splits(regex; flags)`"
- title: "`splits(regex)`, `splits(regex; flags)`"
body: |
These provide the same results as their `split` counterparts,
@@ -2176,7 +2176,7 @@ sections:
input: '("ab,cd", "ef, gh")'
output: ['"ab"', '"cd"', '"ef"', '"gh"']
- title: "\\[Requires 1.5\\] `sub(regex; tostring)` `sub(regex; string; flags)`"
- title: "`sub(regex; tostring)` `sub(regex; string; flags)`"
body: |
Emit the string obtained by replacing the first match of regex in the
@@ -2192,7 +2192,7 @@ sections:
output: '"ZabcZabc"'
- title: "\\[Requires 1.5\\] `gsub(regex; string)`, `gsub(regex; string; flags)`"
- title: "`gsub(regex; string)`, `gsub(regex; string; flags)`"
body: |
`gsub` is like `sub` but all the non-overlapping occurrences of the regex are
+8 -8
View File
@@ -980,7 +980,7 @@ sections:
input: '[]'
output: ["true"]
- title: "\\[Requires 1.5\\] `flatten`, `flatten(depth)`"
- title: "`flatten`, `flatten(depth)`"
body: |
The filter `flatten` takes as input an array of nested arrays,
@@ -1996,7 +1996,7 @@ sections:
evaluates to: true, true, false, false.
entries:
- title: "\\[Requires 1.5\\] `test(val)`, `test(regex; flags)`"
- title: "`test(val)`, `test(regex; flags)`"
body: |
Like `match`, but does not return match objects, only `true` or `false`
@@ -2010,7 +2010,7 @@ sections:
input: '["xabcd", "ABC"]'
output: ['true', 'true']
- title: "\\[Requires 1.5\\] `match(val)`, `match(regex; flags)`"
- title: "`match(val)`, `match(regex; flags)`"
body: |
**match** outputs an object for each match it finds. Matches have
@@ -2055,7 +2055,7 @@ sections:
output: [3]
- title: "\\[Requires 1.5\\] `capture(val)`, `capture(regex; flags)`"
- title: "`capture(val)`, `capture(regex; flags)`"
body: |
Collects the named captures in a JSON object, with the name
@@ -2067,7 +2067,7 @@ sections:
input: '"xyzzy-14"'
output: ['{ "a": "xyzzy", "n": "14" }']
- title: "\\[Requires 1.5\\] `scan(regex)`, `scan(regex; flags)`"
- title: "`scan(regex)`, `scan(regex; flags)`"
body: |
Emit a stream of the non-overlapping substrings of the input
@@ -2096,7 +2096,7 @@ sections:
output: ['"ab","cd","ef"']
- title: "\\[Requires 1.5\\] `splits(regex)`, `splits(regex; flags)`"
- title: "`splits(regex)`, `splits(regex; flags)`"
body: |
These provide the same results as their `split` counterparts,
@@ -2107,7 +2107,7 @@ sections:
input: '("ab,cd", "ef, gh")'
output: ['"ab"', '"cd"', '"ef"', '"gh"']
- title: "\\[Requires 1.5\\] `sub(regex; tostring)` `sub(regex; string; flags)`"
- title: "`sub(regex; tostring)` `sub(regex; string; flags)`"
body: |
Emit the string obtained by replacing the first match of regex in the
@@ -2123,7 +2123,7 @@ sections:
output: '"ZabcZabc"'
- title: "\\[Requires 1.5\\] `gsub(regex; string)`, `gsub(regex; string; flags)`"
- title: "`gsub(regex; string)`, `gsub(regex; string; flags)`"
body: |
`gsub` is like `sub` but all the non-overlapping occurrences of the regex are