Hmm. PCRE is probably wide-spread enough that it could be an option.
What's PCRE performance like? I'd hate to make "git grep" slower, and it
would be stupid and confusing to use two different regex libraries..
Maybe somebody could test - afaik, PCRE has a regex-compatible (from a API
standpoint, not from a regex standpoint!) wrapper thing, and it might be
interesting to hear if doing "git grep" is slower or faster..
(I realize that the performance thing depends heavily on the patterns and
the working set they are used on, but I guess _I_ personally only care
about fairly simple patterns on the kernel ;)
Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html