Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: REMATCH_PCRE with zsh built without pcre support



Eric Cook wrote on Tue, Apr 04, 2017 at 08:27:16 -0400:
> On 04/03/2017 10:43 PM, Bart Schaefer wrote:
> > If we go with the module-specific hack in options.c, we should also have
> > an option-specific hack in Modules/pcre.c so "zmodload -u zsh/pcre" is
> > an error when REMATCH_PCRE is set.  Enforced dependence cuts both ways.
> > 
> 
> If it isn't trivial to do, we could just commit the man page patch daniel posted,
> because i was also under the impression that zsh/regex would've been used when
> pcre wasn't available based on the sentence that didn't really explicitly say
> that it would.

I'll go ahead and push it, to better document the incumbent behaviour,
until we decide whether to change it.



Messages sorted by: Reverse Date, Date, Thread, Author