diff --git a/ChangeLog.md b/ChangeLog.md index ae662f3bf..85a0cd8cb 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -16,6 +16,10 @@ All notable changes to this project will be documented in this file. - documentation and examples for lazy sequences +### Fixed + +- Fixed 'str/split' doc examples + ## [1.10.39] - 2023-07-10 diff --git a/src/main/java/com/github/jlangch/venice/impl/functions/StringFunctions.java b/src/main/java/com/github/jlangch/venice/impl/functions/StringFunctions.java index fe7faf71e..3d6514516 100644 --- a/src/main/java/com/github/jlangch/venice/impl/functions/StringFunctions.java +++ b/src/main/java/com/github/jlangch/venice/impl/functions/StringFunctions.java @@ -982,7 +982,7 @@ public VncVal apply(final VncList args) { .examples( "(str/split \"abc,def,ghi\" \",\")", "(str/split \"James Peter Robert\" \" \" 2)", - "(str/split \"abc , def , ghi\" \"[ *],[ *]\")", + "(str/split \"abc , def , ghi\" \" *, *\")", "(str/split \"abc,def,ghi\" \"((?<=,)|(?=,))\")", "(str/split \"q1w2e3r4t5y6u7i8o9p0\" #\"\\d+\")", "(str/split \"q1w2e3r4t5y6u7i8o9p0\" #\"\\d+\" 5)",