2009/6/17 Jeff King <peff@xxxxxxxx>: > On Wed, Jun 17, 2009 at 05:46:54PM +0200, demerphq wrote: > >> Just a note, but If the Java regex library you are using supports >> the PCRE compatible (?>...) atomic matching construct (or their >> equivalent *+ and ++) then these patterns can be significantly >> improved beyond their current state. > > To clarify, this isn't a java regex library, but rather regexps used to > match function names inside java language files when generating diffs. > The regex library itself is the POSIX regex routines provided by libc. > > PCRE syntax is nice, but we don't want to require it for every build, > and it's important to have the same syntax everywhere (so that, e.g., > your config from one build works on a different build). Ah ok. Im not familiar with the finer points of the POSIX engine, but PCRE and Perl's engine, and most similar engines are not true regular expression engines and thus benefit *greatly* from atomic matching if it is available. Like the difference between heat-death performance (or stack overflow), and running instantly. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/" -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html