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

Iain Duncan iainduncanlists at gmail.com
Sun Jan 16 09:52:45 PST 2022


My apologies for the noise, I'm an idiot who didn't read far enough through
the docs. (RTFM and all that). One just needs to change the *all-chars*
definition to the ASCII version in irregex.scm. I'll let people know how it
goes!

iain

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

> 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?
> iain
>
>
> On Sun, Jan 16, 2022 at 9:47 AM Iain Duncan <iainduncanlists at gmail.com>
> wrote:
>
>> 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/ce5fee91/attachment.html>


More information about the Cmdist mailing list