scsh-hackers
[Top] [All Lists]

[Scsh-hackers] [ scsh-Bugs-560165 ] Problem with regexp-search? in 0.6.2

To: noreply@sourceforge.net
Subject: [Scsh-hackers] [ scsh-Bugs-560165 ] Problem with regexp-search? in 0.6.2
From: noreply@sourceforge.net
Date: Mon Jun 24 02:24:05 2002
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Bugs item #560165, was opened at 2002-05-24 17:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=560165&group_id=10493

Category: run-time
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michel Schinz (michel-schinz)
>Assigned to: Mike Sperber (sperber)
Summary: Problem with regexp-search? in 0.6.2

Initial Comment:
With scsh 0.5.3, I have the following:
----------
Scsh 0.5.3
> (let ((r (rx bos "a")))
  (values
   (regexp-search r "bca" 2)
   (regexp-search? r "bca" 2)))
; 2 values
'#{regexp-match}
#t
>
----------
which seems correct, because when regexp-match returns
a match, regexp-match? returns true.

Now with 0.6.2 this isn't the case anymore:
----------
Welcome to scsh 0.6.2 (Gambit-C 4.0)
Type ,? for help.
> (let ((r (rx bos "a")))
  (values
   (regexp-search r "bca" 2)
   (regexp-search? r "bca" 2)))
; 2 values
'#{regexp-match}
#f
----------
Here regexp-match returns a match, while regexp-match?
returns false.
All this is on "Linux lamppc21 2.4.3-12 #1 Fri Jun 8
15:05:56 EDT 2001 i686 unknown". Didn't try on another OS.

Michel.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=560165&group_id=10493


<Prev in Thread] Current Thread [Next in Thread>
  • [Scsh-hackers] [ scsh-Bugs-560165 ] Problem with regexp-search? in 0.6.2, noreply <=