~ chicken-core (chicken-5) 51043ce0a13a9132d9856c2579d384931efb3606
commit 51043ce0a13a9132d9856c2579d384931efb3606
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Wed Jul 28 14:37:22 2010 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Wed Jul 28 14:37:22 2010 +0200
use irregex in chicken-status
diff --git a/chicken-status.scm b/chicken-status.scm
index 52c608e6..cf03ce3c 100644
--- a/chicken-status.scm
+++ b/chicken-status.scm
@@ -127,9 +127,8 @@ EOF
(map
regexp
(cond ((null? pats) '(".*"))
- ;;XXX change for total-irregex branch:
(exact (map (lambda (p)
- (string-append "^" (regexp-escape p) "$"))
+ (string-append "^" (irregex-quote p) "$"))
pats))
(else pats))))
(eggs (gather-eggs patterns)))
diff --git a/manual/faq b/manual/faq
index 7abf0381..24f054af 100644
--- a/manual/faq
+++ b/manual/faq
@@ -533,7 +533,7 @@ Compile the program that uses the module:
The regular expression engine has recently be replaced by [[/users/alex shinn|alex shinn]]'s excellent
{{irregex}} library, which is fully implemented in Scheme. Precompiling regular
expressions to internal form is somewhat slower than with the old PCRE-based
-regex engine. It is advisable to use {{regexp}} to precompile regular expressions
+regex engine. It is advisable to use {{irregex}} to precompile regular expressions
outside of time-critical loops and use them where performance matters.
Trap