You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@snippetSearchPattern=/####\s{1,}(__|\*\*)?\[?(VB|VB.NET|C#|F#|XAML|SQL|XML)\]?\s*.*\s*(>\n*)*{{region\s.*}}\n*\r*((?!{{endregion}}).*\n*\r*\s*)+?(>?{{endregion}})/# gets the whole snippet portion - header + region tags + code snippet
6
6
@regionsPattern=/{{region\s.*}}(.*\n*\r*\s*)+?(>?{{endregion}})/# gets the region tags and the content between them
7
7
@regionStartPattern=/{{region\s.*}}/
8
8
@regionEndPattern=/{{endregion}}/
@@ -89,7 +89,7 @@ def createTabbedCode(p)
89
89
end
90
90
91
91
defgetLanguageFromHeader(header)
92
-
headerLangPattern=/(__|\*\*)?\[?(VB.NET|VB|C#|XAML|SQL|XML)\]?/# gets the language part of the header (no white spaces). Examples: '__[XAML]' or '__[C#]' or '__XAML', etc.
92
+
headerLangPattern=/(__|\*\*)?\[?(VB.NET|VB|C#|F#|XAML|SQL|XML)\]?/# gets the language part of the header (no white spaces). Examples: '__[XAML]' or '__[C#]' or '__XAML', etc.
headerLangPattern=/####\s{1,}(__|\*\*)?\[?(VB.NET|VB|C#|XAML|SQL|XML)\]?\s*/# gets the language part of the header (including white spaces). Examples: '__[XAML] ' or '__[C#] ' or '__XAML ', etc.
105
+
headerLangPattern=/####\s{1,}(__|\*\*)?\[?(VB.NET|VB|C#|F#|XAML|SQL|XML)\]?\s*/# gets the language part of the header (including white spaces). Examples: '__[XAML] ' or '__[C#] ' or '__XAML ', etc.
0 commit comments