Allow to use untrusted ruby syntax
What does this MR do?
Brings an optional administratively controlled backward compatibility to use unsafe Ruby Regexp with
This also brings back the compatibility for:
// =~ 'aa' which become broken due to
The EE version: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10566
Does this MR meet the acceptance criteria?
- Changelog entry
- Documentation created/updated or follow-up review issue created
- Code review guidelines
- Style guides
Performance and testing
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
Label as security and @ mention
- Security reports checked/validated by a reviewer from the AppSec team