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

Re: REMATCH_PCRE with zsh built without pcre support



I think the right way to do this "properly" would be generically in
terms of module features.  Options could have lists of module / prefix /
name strings, in this case "zsh/pcre", "C:", "pcre-match", for passing
to ensurefeature() --- or possibly autoloading.  It would have to pass
reverse dependencies into module.c somehow to force an unload to fail.
I suppose you could special case a null prefix and name to say just load
the module, but module features look like the right level of, er,
feature, to associate with the backend to an option in general.

It seems highly unlikely this is worth the significant effort.

pws



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