We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb01e92 commit 831d26fCopy full SHA for 831d26f
src/services/services.ts
@@ -3644,7 +3644,7 @@ module ts {
3644
// Note that the outermost group is *not* a capture group, but the innermost groups
3645
// *are* capture groups. By capturing the inner literals we can determine after
3646
// matching which descriptor we are dealing with.
3647
- var literals = "(?:" + descriptors.map(d => "(" + escapeRegExp(d.text) + ")").join("|") + ")";
+ var literals = "(?:" + map(descriptors, d => "(" + escapeRegExp(d.text) + ")").join("|") + ")";
3648
3649
// After matching a descriptor literal, the following regexp matches the rest of the
3650
// text up to the end of the line (or */).
0 commit comments