[CM] Error trying to load Alex Shinn's regext library

Iain Duncan iainduncanlists at gmail.com
Sun Jan 16 09:49:01 PST 2022

FWIW, his site says "A fully portable and efficient R[4567]RS
implementation of regular expressions, supporting both POSIX syntax with
various (irregular) PCRE extensions, as well as SCSH's SRE syntax, with
various aliases for commonly used patterns. "

So seems like it should be possible?

On Sun, Jan 16, 2022 at 9:47 AM Iain Duncan <iainduncanlists at gmail.com>

> Hi, I thought I would try loading Alex's Shinn's iregex library from
> http://synthcode.com/scheme/irregex but I'm getting an error that I'm not
> sure how to fix. I try to load irregex.scm and get the error below. I'm
> hoping someone can tell me if this is something I just need to patch in s7?
> or any other suggestions?
> thanks!
> > (load "irregex.scm")
> ;integer->char argument 1, 55295, is out of range (it doen't fit in an
> unsigned byte)
> ;    integer->char
> ;    irregex.scm, line 360, position: 15546
> ; ((integer->char 57344) (integer->char 111...
> ; ((lambda (hook lst) (if (do ((p lst (cdr ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20220116/7495d8f4/attachment.html>

More information about the Cmdist mailing list