> -----Original Message-----
> From: Douglas Stonham [mailto:dstonham@pennysaverusa.net]
> Sent: Thursday, February 17, 2005 11:00 AM
> To: dev@tortoisesvn.tigris.org
> Subject: Re: [TSVN] Autocompletion list in the commit dialog
>
> Just a thought, but rather than empty matches, I think these are carriage
> returns being included in the returned match (which may or may not be a
> problem for the autocomplete list).
>
I am getting an empty match as the first return for my VB6 regexp. That is
the one that matches the right part of the | (or). So I think what is
happening is that if you have a group defined in different parts of an or
like a(\w+)|b(\w+)|c(\w+) you will always get back 3 group matches, but only
one will every be filled. Of course in that example you could fix that, but
in others it is unavoidable.
So I would suggest that the test tool not show the empty group matches.
Here is my VB6 expression setup to not match properties anymore:
(MULTILINE) .bas, .frm, .cls = ^\s*(?:(?:Public (?:Default )?|Private
)?(?:Sub|Function) ?)(\w+)\(|^Attribute VB_Name = "(\w+)"
I would like to put a $ at the end of the attribute part, but it doesn't
seem to work. Heck, even ^A.*$ in multiline mode doesn't match anything.
And ^.*$ locks up, even on a small file.
Josha Foust
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 17 19:11:51 2005