On Mon, Sep 05, 2016 at 12:10:11PM -0700, Junio C Hamano wrote: > * We could use <ptr,len> variant of regexp engine as you proposed, > which I think is a preferrable solution. Do people know of a > widely accepted implementation that we can throw into compat/ as > fallback that is compatible with GPLv2? Maybe the one already in compat/regex? ;P I think re_search() the correct replacement function but it's been a while since I've looked into it. -Peff