scsh-users
[Top] [All Lists]

if-match on 0.5.3

To: scsh-news@zurich.ai.mit.edu
Subject: if-match on 0.5.3
From: walter@pelissero.org (Walter C. Pelissero)
Date: 09 Nov 2001 15:17:49 +0000
Organization: Customer of PlusNet
I was wondering if I got the sre manual right.
According to the only example I could find in it

(let-match (regexp-search date s) (whole-date month day year)
  ... body ...)

if-match should bind variables like this

(whole-matched-string substring-1 substring-2 ...)

while according to my test it's like this

(match-structure whole-matched-string substring-1 substring-2 ...)

It's the first time I use if-match, though.

-- 
walter pelissero
http://www.pelissero.org

<Prev in Thread] Current Thread [Next in Thread>