Notes and incomplete work.
-rw-r--r-- 1 tonyg staff 3935 Aug 11 2009 boot.tng-modules
-rw-r--r-- 1 tonyg staff 454 Aug 9 2009 calc.tng
-rw-r--r-- 1 tonyg staff 1214 Apr 16 18:18 clojure-sequences-20100416.txt
-rw-r--r-- 1 tonyg staff 2265 Feb 24 13:20 monadic-book.tng
-rw-r--r-- 1 tonyg staff 290 Dec 29 19:37 things-to-consider.txt
README
pregexp
Dorai Sitaram
ds26 at gte.com
-
pregexp is a portable implementation of regular
expressions (regexps) that runs in any R5RS- or
R4RS-compliant implementation of the programming
language Scheme. The regexp notation supported is
compatible with Perl's, and includes such
powerful directives as
* numeric quantifiers
* non-greedy quantifiers
* POSIX character classes
* non-capturing clusters (in addition to the usual
capturing kind)
* selective (ie, per-cluster) case-insensitivity
* selective space-insensitivity (with provision
for comments)
* backreferences
* alternation
* backtrack pruning
* lookahead (positive and negative)
* lookbehind (positive and negative)
This is in addition to the more basic directives
familiar to all regexp users.
To use, simply load the file `pregexp.scm' into your
Scheme. Alternatively, if your dialect allows it, you
can install pregexp as a module -- consult the
file `INSTALL'.
However you load pregexp, you will now have
access to the procedures
* pregexp
* pregexp-match-positions
* pregexp-match
* pregexp-split
* pregexp-replace
* pregexp-replace*
The use of these procedures is described fully and with
examples in the pregexp manual.
pregexp.cl is a machine-translation of
pregexp.scm that runs in Common Lisp.
The pregexp distribution with documentation may be
downloaded from a link provided in the pregexp manual
on the World Wide Web at
`http://www.ccs.neu.edu/~dorai/pregexp/pregexp.html'.