Bug 278380 - shells/zsh: Consider making PCRE=on the default
Summary: shells/zsh: Consider making PCRE=on the default
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-15 17:15 UTC by Henrich Hartzer
Modified: 2024-04-15 17:15 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrich Hartzer 2024-04-15 17:15:22 UTC
I'd like to suggest turning pcre on by default for shells/zsh. This lets users use plugins like https://github.com/sunlei/zsh-ssh without recompiling zsh.

A counter argument is that zsh's PCRE support uses the old, deprecated V1 library. However, the next release of zsh should move to v2 as that code is already committed. I have no idea when that release will be.

So if not now, maybe on the next release?

I'm quite open to other counter-arguments. Just wanted to start a discussion.

Also happy to contribute a patch if this is acceptable.

Thanks!