Re: Regexp errors on OpenBSD

Michael Sperber <[email protected]> Sat, 28 Oct 2006 11:16:07 +0200
Newsgroups gmane.lisp.scheme.scsh
Message-ID <[email protected]>
Emilio Lopes <[email protected]> writes:

> I tracked the problem down to this change in scsh/rx/parse.scm, in the
> procedure `char-set->in-pair':
>
>    @@ -709,7 +714,7 @@
>                                                    . ,ranges))))
>                             (values loose ranges)))))
>
>    -    (let lp ((i 127) (from #f) (to #f) (loose '()) (ranges '()))
>    +    (let lp ((i 255) (from #f) (to #f) (loose '()) (ranges '()))
>           (if (< i 0)
>              (add-range from to loose ranges)
>
> I've not found any evil effects after reverting this one change some
> months ago (dreimal klopfen auf den Kopf!).

Except you get unwanted effects with non-ASCII characters. :-(

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla