[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-16 19:38:54 CET

On Wed, February 16, 2005 10:26 am, SteveKing said:
> Try
> (?<=([Cc]lass|[Ff]unction|[Ss]ub)[ \t]*)\b\w+(?=[ \t]*[\(\'\r\n(\r\n)])

Unfortunately, this still uses \r and \n, which are currently matching the
characters r and n rather than carriage return and line feed as expected.

Incidentally, tieing into the other post on the subject, I also tried ^
and $ (which do match line beginnings/endings depending on the settings
used in the regex match) but to no effect.

Are their any docs for this particular regex engine? It seems very odd to
disable \r and \n.

> You can use the test tool I mentioned earlier - that one uses the same
> algorithm as TSVN does.

Sorry, didn't say that very well... I can't test directly in TSVN but
yes, I am using the test tool (which is very useful but could you change
the OK button to read close? I've already closed the program about 10
times by hitting OK rather than Parse as I intended!)

Douglas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Feb 16 19:39:28 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.