Query module BackrefIntoNegativeLookahead

name
Back reference into negative lookahead assertion
description
If a back reference refers to a capture group inside a preceding negative lookahead assertion, then the back reference always matches the empty string, which probably indicates a mistake.
kind
problem
problem.severity
error
id
js/regex/back-reference-to-negative-lookahead
tags
reliability correctness regular-expressions
precision
very-high

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.