File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class AbsoluteCodeLine
16
16
17
17
private static readonly Regex PropertyStartRegex = new Regex ( @"^(Public\s|Private\s|Friend\s)?(Static\s)?(Property\s(Let|Get|Set))\s" , RegexOptions . IgnoreCase ) ;
18
18
19
- private static readonly Regex ProcedureStartIgnoreRegex = new Regex ( @"^[LR]?Set\s|^Let\s|^(Public|Private)\sDeclare\s (Function|Sub)" , RegexOptions . IgnoreCase ) ;
19
+ private static readonly Regex ProcedureStartIgnoreRegex = new Regex ( @"^[LR]?Set\s|^Let\s|^(Public\s |Private\s)?Declare\s(PtrSafe\s)? (Function|Sub)" , RegexOptions . IgnoreCase ) ;
20
20
private static readonly Regex ProcedureEndRegex = new Regex ( @"^End\s(Sub|Function|Property)" , RegexOptions . IgnoreCase ) ;
21
21
private static readonly Regex TypeEnumStartRegex = new Regex ( @"^(Public\s|Private\s)?(Enum\s|Type\s)" , RegexOptions . IgnoreCase ) ;
22
22
private static readonly Regex TypeEnumEndRegex = new Regex ( @"^End\s(Enum|Type)" , RegexOptions . IgnoreCase ) ;
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ public override string ToString()
195
195
return _lines . Aggregate ( string . Empty , ( x , y ) => x + y . ToString ( ) ) ;
196
196
}
197
197
198
- private static readonly Regex StartIgnoreRegex = new Regex ( @"^(\d*\s)?\s*[LR]?Set\s|^(\d*\s)?\s*Let\s|^(\d*\s)?\s*(Public|Private)\sDeclare\s (Function|Sub)|^(\d*\s+)" , RegexOptions . IgnoreCase ) ;
198
+ private static readonly Regex StartIgnoreRegex = new Regex ( @"^(\d*\s)?\s*[LR]?Set\s|^(\d*\s)?\s*Let\s|^(\d*\s)?\s*(Public\s |Private\s)?Declare\s(PtrSafe\s)? (Function|Sub)|^(\d*\s+)" , RegexOptions . IgnoreCase ) ;
199
199
private readonly Stack < AlignmentToken > _alignment = new Stack < AlignmentToken > ( ) ;
200
200
private int _nestingDepth ;
201
201
You can’t perform that action at this time.
0 commit comments