Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
False positives from no-octal-escape in regex literals #582
var regex = /([abc]) \1/g;
Running ESLint on this sample code yields an error from the
However, as the MDN explains, this isn't an octal escape in the regex literal, but rather a numeric backreference:
As such, the