[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Autocompletion list in the commit dialog

From: SteveKing <stefankueng_at_gmail.com>
Date: 2005-02-17 11:21:11 CET

On Thu, 17 Feb 2005 11:13:07 +0100, Lübbe Onken <l.onken@rac.de> wrote:

> My first go at a delphi Regex:
> (NOCASE) .pas = (\w+)\s+=\s+(class)|(procedure|function|property)\s+(\w+)
>
> Returns all class definitions with the procdedure, function and properties
> of the class from the definition block, but captures the functions and
> procedures from the implementation part as well, thus returning duplicates.
>
> I'm no regex adept, so please review this.

Did you try this with the latest RegExpTest? I see many groups in
there which would return a match, e.g. "(procedure|function|property)"
which you certainly don't want to.

duplicates aren't a problem, though.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 17 11:21:59 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.