From 9b86f24e9f2497159acf5b5a3b5cf2d4ad8e0554 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 16 Nov 2001 21:05:07 +0000 Subject: [PATCH] Document the REXP abstraction. --- v7/doc/ref-manual/scheme.texinfo | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/v7/doc/ref-manual/scheme.texinfo b/v7/doc/ref-manual/scheme.texinfo index 5f0fd25c7..7c4149962 100644 --- a/v7/doc/ref-manual/scheme.texinfo +++ b/v7/doc/ref-manual/scheme.texinfo @@ -2,7 +2,7 @@ @iftex @finalout @end iftex -@comment $Id: scheme.texinfo,v 1.98 2001/11/16 21:02:36 cph Exp $ +@comment $Id: scheme.texinfo,v 1.99 2001/11/16 21:05:07 cph Exp $ @comment %**start of header (This is for running Texinfo on a region.) @setfilename scheme.info @settitle MIT Scheme Reference @@ -6465,6 +6465,15 @@ represents the pattern matching a character in that set; or an object returned by calling one of the procedures defined here. @end deffn +@deffn {procedure+} rexp->regexp rexp +Converts @var{rexp} to standard regular-expression notation, returning +a newly-allocated string. +@end deffn + +@deffn {procedure+} rexp-compile rexp +Converts @var{rexp} to standard regular-expression notation, then +compiles it and returns the compiled result. Equivalent to + @deffn {procedure+} rexp-any-char Returns a @acronym{REXP} that matches any single character except a newline. This is equivalent to the @code{.} construct. @@ -6598,15 +6607,6 @@ but is insensitive to character case. This has no equivalent in standard regular-expression notation. @end deffn -@deffn {procedure+} rexp->regexp rexp -Converts @var{rexp} to standard regular-expression notation, returning -a newly-allocated string. -@end deffn - -@deffn {procedure+} rexp-compile rexp -Converts @var{rexp} to standard regular-expression notation, then -compiles it and returns the compiled result. Equivalent to - @example (re-compile-pattern (rexp->regexp @var{rexp}) #f) @end example -- 2.25.1