scsh-checkins
[Top] [All Lists]

[Scsh-checkins] scsh-0.6/scsh/rx packages.scm parse.scm re.scm simp.scm

To: scsh-checkins@lists.sourceforge.net
Subject: [Scsh-checkins] scsh-0.6/scsh/rx packages.scm parse.scm re.scm simp.scm
From: Mike Sperber <sperber@users.sourceforge.net>
Date: Mon Sep 23 06:00:02 2002
List-id: <scsh-checkins.lists.sourceforge.net>
Sender: scsh-checkins-admin@lists.sourceforge.net
Update of /cvsroot/scsh/scsh-0.6/scsh/rx
In directory usw-pr-cvs1:/tmp/cvs-serv31183

Modified Files:
        packages.scm parse.scm re.scm simp.scm 
Log Message:
Fix the most obvious insanities that's to do with dynamic parts of the
RX syntax.  Namely, a lot of code (used to) assume(s) that the
total-number-of-submatches (TSM) quantity is static even for dynamic
regexps.

Specifically, RE-TSM now returns an unspecific value instead of 0 for
non-regexps which should break most of the code that used to just
silently do the wrong thing.  It's likely that more examples involving
dynamic sub-regexps will fail.

In the process, I also removed some of Olin's naming craziness (using
"%" signs to convey meaning) which I needed to do to halfway
understand what's going on.



<Prev in Thread] Current Thread [Next in Thread>
  • [Scsh-checkins] scsh-0.6/scsh/rx packages.scm parse.scm re.scm simp.scm, Mike Sperber <=