MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / isMatch

Method isMatch

Extension/src/Utility/Process/streams.ts:171–175  ·  view source on GitHub ↗

* Checks if the a line is a match for the current expression. * * @param line the line to check * @returns

(line: string)

Source from the content-addressed store, hash-verified

169 * @returns
170 */
171 private isMatch(line: string) {
172 return this.stopExpression && this.stopExpression instanceof RegExp
173 ? this.stopExpression.test(line)
174 : this.stopExpression === line;
175 }
176
177 /**
178 * Iterator next function.

Callers 1

nextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected