From e5a8bb5d3c674c634fecce1c6842ee961cb81cb0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 20 Dec 1999 02:09:43 +0000 Subject: [PATCH] Fix typo in last change. Change order of arguments to RE-MATCH-EXTRACT. --- v7/src/runtime/regexp.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/regexp.scm b/v7/src/runtime/regexp.scm index d0a5e522a..718d63287 100644 --- a/v7/src/runtime/regexp.scm +++ b/v7/src/runtime/regexp.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: regexp.scm,v 1.5 1999/12/16 22:06:31 cph Exp $ +;;; $Id: regexp.scm,v 1.6 1999/12/20 02:09:43 cph Exp $ ;;; ;;; Copyright (c) 1986, 1989-1999 Massachusetts Institute of Technology ;;; @@ -84,7 +84,7 @@ (list "\\)") (cons "\\|" (loop (cdr alternatives))))))))))) -(define (re-match-extrace string i regs) +(define (re-match-extract string regs i) (substring string (re-match-start-index i regs) (re-match-end-index i regs))) -- 2.25.1