[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: Toby Johnson <toby_at_etjohnson.us>
Date: 2005-02-17 15:57:29 CET

Lübbe Onken wrote:

>Hi Folks,
>
>My first go at a delphi Regex:
>(NOCASE) .pas = (\w+)\s+=\s+(class)|(procedure|function|property)\s+(\w+)
>
>
I doubt you want to actually return the words "class", "procedure", etc.
To prevent a pair of parentheses from actually returning that value, use
the (?:) notation. Also, I believe you wanted to make "class" optional?

(NOCASE) .pas = (\w+)\s+=\s+(?:class)?|(?:procedure|function|property)\s+(\w+)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 17 15:58:35 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.