Re: [PATCH] Interpret :/<pattern> as a regular expression
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 13, 2007, 18:54 UTC
- Message-ID
- <Pine.LNX.4.64.0706131953370.4059@racer.site>
- In-Reply-To
- <20070613184109.GG10941@coredump.intra.peff.net>
Hi,
On Wed, 13 Jun 2007, Jeff King wrote:
Show 8 quoted lines
> On Wed, Jun 13, 2007 at 01:50:22AM +0100, Johannes Schindelin wrote: > > > Earlier, Git interpreted the pattern as a strict prefix, which made > > the operator unsuited in many cases. > > Thank you for working on this...I really like the :/ concept, but find > myself wishing for a regex all the time. I have been meaning to do it > since you introduced the original. :)
:-) Since you seem comfortable with regular expressions, maybe you can help me: I am looking for a pattern which matches _any_ character, and one which matches only non-newlines, both with and without REG_NEWLINE. Hmm?
Tia, Dscho