[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: Douglas Stonham <dstonham_at_pennysaverusa.net>
Date: 2005-02-17 17:45:03 CET

On Thu, February 17, 2005 1:57 am, SteveKing said:
> - as of revision 2685, TSVN also uses regex groups and you can specify
> the flags to use in the autolist.txt file like this:
> (MULTILINE|NOCASE|GLOBAL) .txt, .pic = (regex-string)

Cool... Setting nocase and removing the case options from the string
almost halved the benchmark time :)

> Now the only thing left are the many many regex strings for as many
> filetypes as possible ;)

(MULTILINE|NOCASE) .vb = (?:class|function|sub)\s+(\w+)(?:\s*(?:[\(\']|$))

Gets all class, function and sub names with very few false positives.

Hope that helps,

Douglas

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