# disallow RegExp lookbehind assertions (es/no-regexp-lookbehind-assertions)

This rule reports ES2018 RegExp lookbehind assertions as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-regexp-lookbehind-assertions: error */ const r1 = /(?<=a)b/ const r2 = /(?<!a)b/
Now loading...

# 📚 References