Re: Git and PCRE2 vs PCRE?

2017-03-30 Thread Jeffrey Walton
On Thu, Mar 30, 2017 at 5:23 PM, Junio C Hamano wrote: > Jeffrey Walton writes: > >> Is it possible to use PCRE2 with Git? If so, how do I tell Git to use PCRE2? > > Given that pcre2's symbols are all prefixed with pcre2_ (I only > checked

Re: Git and PCRE2 vs PCRE?

2017-03-30 Thread Junio C Hamano
Jeffrey Walton writes: > Is it possible to use PCRE2 with Git? If so, how do I tell Git to use PCRE2? Given that pcre2's symbols are all prefixed with pcre2_ (I only checked http://www.pcre.org/current/doc/html/pcre2api.html) and we do not see any hits from "git grep pcre2",

Re: Git and PCRE2 vs PCRE?

2017-03-30 Thread Jeff King
On Thu, Mar 30, 2017 at 04:59:27PM -0400, Jeffrey Walton wrote: > Configure has an option for libpcre, but its not clear to me how to > fine tune it for libpcre2: > > $ ./configure --help | /usr/gnu/bin/grep -A 2 -i pcre > --with-libpcre support Perl-compatible regexes (default is NO)

Git and PCRE2 vs PCRE?

2017-03-30 Thread Jeffrey Walton
Some more 2.12.2 testing on Solaris 11.3 x86_64: ... CC ident.o CC kwset.o CC line-log.o CC levenshtein.o CC line-range.o CC list-objects.o In file included from revision.h:5:0, from line-log.c:10: grep.h:5:18: fatal error: pcre.h: No such file or