eslint-plugin-no-lookahead-lookbehind-regexp
eslint-plugin-no-lookahead-lookbehind-regexp copied to clipboard
The rule doesn't find Regex from concatenated strings
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("((?<=').+(?=')|");