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

Re: [TSVN] Auto-completion list

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-02-16 19:30:46 CET

Josha Foust wrote:
> Here is what I came up with for Visual Basic 6:
> .bas, .frm, .cls = (?<=(Public |Private )?(Sub|Function|Property
> Get|Property Set|Property Let) )(\w+)(?=\(.*\))

Thanks. Committed in revision 2680.

> I wanted to put a '^' on the front of that to only match the beginning of
> the line, but it doesn't seem to work. It would make it a lot more accurate
> if I could.

Is '^' really the beginning of a line? According to
http://www.regular-expressions.info/reference.html
it matches the beginning of the string the regex is applied to. And that
is not the beginning of a line but the whole file.

Maybe a '\r\n' would work instead?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
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:31:26 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.