ggreer / the_silver_searcher

A code-searching tool similar to ack, but faster.
http://geoff.greer.fm/ag/
Apache License 2.0
26.2k stars 1.43k forks source link

Depends on deprecated pcre library #1539

Open hhartzer opened 7 months ago

hhartzer commented 7 months ago

It looks like this depends on pcre "v1", when pcre2 is out: https://www.pcre.org/

pcre v1 is deprecated, so it seems that switching over would be wise. v2 has been out since 2015.

I'm not sure if this is actively developed or not. There's talks of a fork (#1515).

Not sure how hard this would be to do. ag is a great piece of software, though!

tacerus commented 3 months ago

Someone already contributed a patch years ago but it was not reviewed and the submitter (understandably) did not want to maintain it anymore: https://github.com/ggreer/the_silver_searcher/pull/1035. Going by the comments it seems someone added the patch to their fork at https://github.com/gcflymoto/the_silver_searcher, but I'm not sure how maintained that one is.