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

[TSVN] C# regex (Was: [TSVN] Autocompletion list in the commit dialog)

From: Peter Mounce <petermounce_at_iml.co.uk>
Date: 2005-02-18 15:13:09 CET

A start on a CSharp regex (I'm quite the novice when it comes to regex),
built with a tool that uses the .NET regex library:

(NOCASE) .cs =
(?:public|protected|private)\s+((\w+[\.]+)*(\w+)\s+)+(\w+)

There are issues with it. It's a first attempt. It's probably quite
naively done, too. It benchmarks to about 40s per 1000 times against a 40Kb
class file with ~100 members.

The test tool: is the output that's put in the textbox going to all be added
to the autocompletion list? Or is it more raw than that? If it's
outputting the groups (I'm hazy on the terms here) of each match, can those
be indented a couple spaces to separate them out a bit?

Can you change the test tool so it's resizable, please?
 
 
Peter Mounce
IML Ltd
 
e: mailto:petermounce_at_iml.co.uk w: http://www.iml.co.uk
t: (01428) 727476 f: (01428) 727011

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