function commentContainsWarningTerm(comment) {
			const matches = [];

			warningRegExps.forEach((regex, index) => {
				if (regex.test(comment)) {
					matches.push(warningTerms[index]);
				}
			});

			return matches;
		}
Checks the specified comment for matches of the configured warning terms and returns the matches.
@param {string} comment The comment which is checked.
@returns {Array} All matched warning terms for this comment.