From c109778c75c56d553395eea74da81ef33e840e95 Mon Sep 17 00:00:00 2001 From: Juerg Lang Date: Tue, 26 Jul 2022 18:03:38 +0200 Subject: [PATCH] added doc --- .../github/jlangch/venice/impl/functions/RegexFunctions.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/github/jlangch/venice/impl/functions/RegexFunctions.java b/src/main/java/com/github/jlangch/venice/impl/functions/RegexFunctions.java index 5d4ad0281..98ad3859c 100644 --- a/src/main/java/com/github/jlangch/venice/impl/functions/RegexFunctions.java +++ b/src/main/java/com/github/jlangch/venice/impl/functions/RegexFunctions.java @@ -63,7 +63,9 @@ public class RegexFunctions { "Returns an instance of `java.util.regex.Pattern`.\n\n" + "Patterns are immutable and are safe for use by multiple " + "concurrent threads! \n\n" + - "JavaDoc: [Pattern](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)") + "Alternatively the reader macro for regex patterns can be used to " + + "define a pattern: `#\"[0-9+]\"`\n\n" + + "JavaDoc: [Pattern](https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html)") .examples("(regex/pattern \"[0-9]+\")") .seeAlso("regex/matcher", "regex/matches", "regex/find", "regex/find-all") .build()