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

[TSVN] VB RegEx

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-02-18 11:17:44 CET

Hi Folks,

I just added a Regex for .pas files to the list and noticed that it contains
two regexes for all the vb files.

.bas, .frm, .cls = (?<=(Public |Private )?(Sub|Function|Property
Get|Property Set|Property Let) )(\w+)(?=\(.*\))
and
(MULTILINE) .bas, .frm, .cls = ^\s*(?:(?:Public (?:Default )?|Private
)?(?:Sub|Function) ?)(\w+)\(|^Attribute VB_Name = "(\w+)"

Which one is the right one?

Cheers
- Lübbe

--
       ___
  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 Fri Feb 18 11:18:39 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.