Skip to content

Commit 197b115

Browse files
authored
Fix references to match in the "coming from" pages to reflect its current usage in Nu (#920)
* Update nushell_map_functional.md * Update nushell_map_imperative.md
1 parent 125ff12 commit 197b115

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

book/nushell_map_functional.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ Note: this table assumes Nu 0.43 or later.
1919
| is-empty | empty? | isEmpty | | |
2020
| last | last, peek, take-last | last | last | |
2121
| lines | | | lines, words, split-with | |
22-
| match | re-matches, re-seq, re-find | | | |
23-
nth | nth | Array.get | lookup | |
22+
| match | | match (Ocaml), case (Elm) | case | |
23+
|nth | nth | Array.get | lookup | |
2424
| open | with-open | | | |
2525
| transpose | (apply mapv vector matrix) | | transpose | |
2626
| prepend | cons | cons, :: | :: | |

book/nushell_map_imperative.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Note: this table assumes Nu 0.43 or later.
3333
| last | list[-x:] | | | &Vec[Vec.len()-1] |
3434
| lines | split, splitlines | split | views::split | split, split_whitespace, rsplit, lines |
3535
| ls | os.listdir | | | |
36-
| match | re.findall | Regex.matches | regex_match | |
36+
| match | match | when | | match |
3737
| merge | dict.append | | | |
3838
| mkdir | os.mkdir | | | |
3939
| mv | shutil.move | | | |

0 commit comments

Comments
 (0)