From 85a7be9cf062df0a8de3c469d770168055246e9e Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Sun, 18 Jan 2015 12:36:57 -0500 Subject: [PATCH] Improve readme confusion --- README.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.asciidoc b/README.asciidoc index 424a37a9f4..46dfa1f5de 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -64,7 +64,7 @@ Perl and Javascript use. - If the pattern has a capture in it, it is added after the string split: `"12".split(re"(\d)") == @["", "1", "", "2", ""]`. - If `maxsplit != -1`, then the string will only be split `maxsplit` times. - `"123".split(re"", maxsplit = 1) == @["1", "23"]` + `"1.2.3".split(re"\.", maxsplit = 1) == @["1", "2.3"]` [[proc-replace]] ==== replace(string, Regex, sub): string