From 7fbc8c13f3ad8418d78256b56e6a51ab6ac5d11b Mon Sep 17 00:00:00 2001 From: vindarel Date: Thu, 2 May 2024 15:55:05 +0200 Subject: [PATCH] regexp: add new count-matches (use ppcre prefix) --- regexp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regexp.md b/regexp.md index dc6407e..edd740a 100644 --- a/regexp.md +++ b/regexp.md @@ -111,10 +111,10 @@ The two functions accept the usual `:start` and `:end` key arguments. Additionna ~~~lisp -CL-USER> (count-matches "a" "foo bar baz") +CL-USER> (ppcre:count-matches "a" "foo bar baz") 2 -CL-USER> (count-matches "\\w*" "foo bar baz") +CL-USER> (ppcre:count-matches "\\w*" "foo bar baz") 6 ~~~