Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow inner slashes in RegexpLiteral rubocop configuration #1582

Closed
aurelien-reeves opened this issue Nov 17, 2021 · 0 comments · Fixed by #1587
Closed

Allow inner slashes in RegexpLiteral rubocop configuration #1582

aurelien-reeves opened this issue Nov 17, 2021 · 0 comments · Fixed by #1587
Labels
🏦 debt Tech debt

Comments

@aurelien-reeves
Copy link
Contributor

At the moment Rubocop throws offenses if using inner slashes in regexp that uses /.../ syntax. Thus we have to use %r{ syntax.

As discussed as part of #1566 we may allow inner slashes as part of regexp then use /.../ for all regexp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏦 debt Tech debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant