guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex parenthesis handling bug


From: Gary Houston
Subject: Re: Regex parenthesis handling bug
Date: 23 Oct 2001 20:36:31 -0000

> From: Neil Jerram <address@hidden>
> Date: 22 Oct 2001 23:32:23 +0100
> 
> But it turns out that the setting of re_syntax_options doesn't apply
> to POSIX regcomp, but to the GNUish re_compile_pattern function.  If I
> write a new `make-emacs-regexp' primitive using re_compile_pattern
> rather than regcomp, it gives the desired behaviour.
> 
> That still leaves a problem for non-glibc systems, where Elisp regex
> support is concerned, but I guess that can be solved by including
> source code from Emacs where necessary.
> 

I think this would be best organised as a separate module, outside
of libguile.  You'd have a configure script to detect glibc or fall
back to some other alternative e.g., require that the Rx library be
installed, or include it with the module.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]