scsh-checkins
[Top] [All Lists]

scsh/scsh/rx re-low.scm

To: scsh-checkins@scsh.net
Subject: scsh/scsh/rx re-low.scm
From: jose antonio ortega ruiz <jaortega@users.sourceforge.net>
Date: Sat, 16 Feb 2008 00:33:20 +0100 (MET)
List-id: <scsh-checkins.list-id.scsh.net>
Update of /cvsroot/scsh/scsh/scsh/rx
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv18508/scsh/rx

Modified Files:
        re-low.scm 
Log Message:
Fix bug in bos/eos handling.

CRE-SEARCH? (defined in scsh/rx/re-low.scm) calls REGEXP-MATCH with
4th and 5th arguments indicating whether this corresponds to begin/end
of line. For matching a string, these must be #t. The reason it was
working previously (with both parameters set to #f) was a bug in
regexp1.c:116 (fixed now by placing the appropriate parenthesis),
caused by | having higher precedence than ?: in C (as a result, the
flags passed to the C regexp engine were not correctly computed).

<Prev in Thread] Current Thread [Next in Thread>
  • scsh/scsh/rx re-low.scm, jose antonio ortega ruiz <=