Skip to content

Commit

Permalink
regexp: add new count-matches (use ppcre prefix)
Browse files Browse the repository at this point in the history
  • Loading branch information
vindarel committed May 2, 2024
1 parent 16596f0 commit 7fbc8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regexp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~

Expand Down

0 comments on commit 7fbc8c1

Please sign in to comment.