From 2cb2b88419bd358282b617666e09060c3060e741 Mon Sep 17 00:00:00 2001 From: sperber Date: Sat, 16 Feb 2002 16:52:50 +0000 Subject: [PATCH] Fix error in REGEXP-SUBSTITUTE/GLOBAL example. --- doc/scsh-manual/sre.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scsh-manual/sre.tex b/doc/scsh-manual/sre.tex index 8de3ab9..1910a6b 100644 --- a/doc/scsh-manual/sre.tex +++ b/doc/scsh-manual/sre.tex @@ -1020,7 +1020,7 @@ Some examples: ;;; Remove potentially offensive substrings from string S. (define (kill-matches re s) - (regexp-substitute/global #f s 'pre 'post)) + (regexp-substitute/global #f re s 'pre 'post)) (kill-matches (rx (| "Windows" "tcl" "Intel")) s) ; Protect the children.\end{widecode}}