quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] merging with upstream and adding new files


From: Andreas Gruenbacher
Subject: Re: [Quilt-dev] merging with upstream and adding new files
Date: Mon, 13 Jun 2005 00:22:22 +0200
User-agent: KMail/1.7.1

On Sunday 12 June 2005 23:03, Jean Delvare wrote:
> > The 2nd and 4th parentheses are not counted with (?:...); they are
> > used for grouping only.
>
> Your regular expression won't match this though. Two question marks
> missing maybe? This would clear my original confusion.
>
>     /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/

ah ... of course, yes ;)

> And you should omit the first pair of parentheses too, as you don't use
> the captured value anyway.

That would make the RE more confusing I think.

-- Andreas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]