scsh-users
[Top] [All Lists]

Re: syntax of regexps

To: scsh@martigny.ai.mit.edu
Subject: Re: syntax of regexps
From: Michel Schinz <schinz@studi.epfl.ch>
Date: 25 Jun 1996 09:41:51 +0200
Organization: Ecole Polytechnique Federale de Lausanne
birkholz@primenet.COM writes:

> What is the syntax of regular expressions in scsh?

Well, there is plenty of documentation about regexps in various
widespread programs' documentation, like (e)grep, Emacs or Perl--you
certainly have one of these.  The syntax is quite portable for the
"usual" operators, like ".", "[]", etc.  The only difference worth
noting between Emacs' and scsh's regexps is that the "or" is written
"|" with scsh, not "\|" (Emacs notation) and the grouping operator is
"(" with scsh, and not "\(" (Emacs notation).

> Is there a scsh documentation project?

No, officially not (at least not to my knowledge).  There was some
talk here about such a project a while back, but nothing happened.
The three sources of documentation about scsh are currently:

1. The scsh distribution, with all the files in the "doc" directory.

2. Shriram Krishnamurthi's notes about using the scsh web server,
   available at:

     http://www.cs.rice.edu/~shriram/Notes/Scsh/

3. The FAQ, available at:

     http://diwww.epfl.ch/~schinz/scsh-faq.html

   (which contains a section called "Where can I find documentation
   about scsh?" which might be of some interest to you).

And I also have an embryo of a scsh reference card in LaTeX (including
R4RS functions, etc.) lying somewhere on my hard-disk, but I lack the
time finishing it (and I will be in the army for the next four months
[*sigh*] so don't expect anything soon).  Anyway, if someone has some
time to spend on it, I would be very happy to send him my embryo.

Michel.

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