Skip to content

Fix Performance/ConstantRegexp offenses

Harsha Muralidhar requested to merge 239356-fix-Performance/ConstantRegexp into master

What does this MR do and why?

Addresses https://gitlab.com/gitlab-org/gitlab/-/blob/e8bb84cf1641f65daaf75decf3b8e154e4a4c931/.rubocop_todo.yml#L4858

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #239356

Merge request reports

Loading