Andreas Ericsson <ae@xxxxxx> writes: > Junio C Hamano wrote: >> Andreas Ericsson <ae@xxxxxx> writes: > ... > I think it makes perfect sense to use whatever we pass when compiling > the regex. I wouldn't dare try to hack up something that pre-mangles > a regular expression and assume it gets it right everywhere anyway, so > I'm quite happy with leaving it all to regcomp(3) and friends. Oh, I never meant pre-mangling or anything funky like that. What I was envisioning we might want to make more flexible was what we build on top of regexp, such as the way how these multi-line stuff is treated for example. Currently more than one positive regexp concatenated with "\n" are ANDed together and the captured string from the last one is used, but it is plausible we might want to say "first positive capturing match yields result for this pattern string", or something like that. >> Thanks --- I am bit under the weather and not thinking quite straight. > > Mix 2cc's of 7yo Havana Club into a large cup of tea. Drink one such > cup every hour and eat a fresh fruit with it. I haven't been ill a day > in my life since I came up with that most excellent cure for absolutely > everything. If nothing else, it makes it a bit less boring to be ill. Heh, unfortunately I happen to live in the US. -- 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