File tree
Expand file treeCollapse file tree1 file changed
+2
-1
lines changed Expand file treeCollapse file tree1 file changed
+2
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -912,7 +912,8 @@ export function toUpperCaseDriveLetter(pathName: string): string {
|
912 | 912 | return pathName.replace(/^\w:/, (letter) => letter.toUpperCase())
|
913 | 913 | }
|
914 | 914 |
|
915 |
| -export const multilineCommentsRE = /\/\*(.|[\r\n])*?\*\//gm |
| 915 | +// Taken from https://stackoverflow.com/a/36328890 |
| 916 | +export const multilineCommentsRE = /\/\*[^*]*\*+(?:[^/*][^*]*\*+)*\//gm |
916 | 917 | export const singlelineCommentsRE = /\/\/.*/g
|
917 | 918 | export const requestQuerySplitRE = /\?(?!.*[\/|\}])/
|
918 | 919 |
|
|
You can’t perform that action at this time.
0 commit comments