Skip to content
On this page

regexp/no-empty-capturing-group

💼 This rule is enabled in the ✅ plugin:regexp/recommended config.

disallow capturing group that captures empty.

📖 Rule Details

This rule reports capturing group that captures assertions.

Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-regexp v0.12.0

🔍 Implementation