[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: Rainer Müller <mueller_rainer_at_gmx.de>
Date: 2005-02-17 17:34:06 CET

SteveKing wrote:
> We need many good regex strings to parse as many filetypes as possible.
> Currently, I have only a basic regex implemented for .h and .cpp files,
> but there are many more files out there we can parse.

For PHP:

(MULTILINE) .php =
\s+class|(?<=(?=public|private|)\s+function)\s(\w+)|::(\w+)|->(\w+)

That matches all class and function definitions. It also matches all
called functions (either static or from a object).

This regex generates many empty lines, but I think this is something in
the test tool?

HTH, Rainer

---------------------------------------------------------------------
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:34:57 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.