aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Terpstra <erterpstra@gmail.com>2020-06-25 10:48:08 +0200
committerLouis Pilfold <louis@lpil.uk>2020-06-25 14:31:57 +0100
commit609739f5f7793921d4bb802e66ef9eae4a8e61fa (patch)
treee7ab81c47b42a20cc080079ecbbfb8cb86d9ff9f
parent70e513cf98a4d6f681e660f97813329d2ea74203 (diff)
downloadgleam_stdlib-609739f5f7793921d4bb802e66ef9eae4a8e61fa.tar.gz
gleam_stdlib-609739f5f7793921d4bb802e66ef9eae4a8e61fa.zip
Fix typo in doc comments
Co-authored-by: Peter Saxton <peterhsaxton@gmail.com>
-rw-r--r--src/gleam/regex.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/regex.gleam b/src/gleam/regex.gleam
index 3f49eb1..aa7d8a1 100644
--- a/src/gleam/regex.gleam
+++ b/src/gleam/regex.gleam
@@ -97,7 +97,7 @@ pub external fn match(Regex, String) -> Bool =
/// ## Examples
///
/// > let Ok(re) = from_string(" *, *")
-/// > match(re, "foo,32, 4, 9 ,0")
+/// > split(re, "foo,32, 4, 9 ,0")
/// ["foo", "32", "4", "9", "0"]
///
pub external fn split(Regex, String) -> List(String) =