Re: Regexp errors on OpenBSD
Michael Sperber <[email protected]> Tue, 24 Oct 2006 08:04:13 +0200
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
"Matthew R. Dempsky" <[email protected]> writes: > On Mon, Oct 23, 2006 at 08:25:13AM +0200, Michael Sperber wrote: >> Yes, this has come up before. OpenBSD's regexps, for some reason, >> don't seem to allow characters above the ASCII range. > > A nuissance to be sure (and I'm looking into if it can be fixed), but > couldn't scsh easily avoid passing non-ASCII characters in cases where > they're unnecessary? It could, but then you'd still have problems with the cases where they're necessary. > I tried setting a breakpoint on regcomp and seeing what string scsh > passes to the regex library, and scsh 0.6.7 passes the string > mentioned in my original post, while scsh 0.6.2 passes "[\t-\r -~]". > Any ideas why this might have changed? Probably to fix bugs related to handling characters above 127 (which people do work with). -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla