From ab7b4f525b2edef5379ed8eb6abe223186380197 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Oct 2021 11:22:22 +0200 Subject: Remove unused comments --- server/helpers/regexp.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'server/helpers') diff --git a/server/helpers/regexp.ts b/server/helpers/regexp.ts index cfc2be488..257054cea 100644 --- a/server/helpers/regexp.ts +++ b/server/helpers/regexp.ts @@ -4,7 +4,6 @@ function regexpCapture (str: string, regex: RegExp, maxIterations = 100) { let m: RegExpExecArray let i = 0 - // tslint:disable:no-conditional-assignment while ((m = regex.exec(str)) !== null && i < maxIterations) { // This is necessary to avoid infinite loops with zero-width matches if (m.index === regex.lastIndex) { -- cgit v1.2.3