eslint-plugin-no-lookahead-lookbehind-regexp icon indicating copy to clipboard operation
eslint-plugin-no-lookahead-lookbehind-regexp copied to clipboard

The rule doesn't find Regex from concatenated strings

Open RatoX opened this issue 1 year ago • 2 comments

Hello, first thank you for your work on this helpful lib. I have a small issue to report.

The rule catches this situation:

export const lol2 = new RegExp("((?<=').+(?=')|");

but it can not catch when we have something like this:

export const lol2 = new RegExp("((?<=').+(?=')|");

RatoX avatar Jul 12 '23 00:07 RatoX