Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-01 09:09:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-01 09:09:38 +0300
commit7401c3a232003e3901010eccb4a31b7aa2741473 (patch)
treeb6fd8487c0eea8dcf2dbacd96d96da0eecba3266 /lib/gitlab/untrusted_regexp
parent902b42250634a30b90b9f3bb40f026633c923dcc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/untrusted_regexp')
-rw-r--r--lib/gitlab/untrusted_regexp/ruby_syntax.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/untrusted_regexp/ruby_syntax.rb b/lib/gitlab/untrusted_regexp/ruby_syntax.rb
index 1f1da592ce0..db01875d080 100644
--- a/lib/gitlab/untrusted_regexp/ruby_syntax.rb
+++ b/lib/gitlab/untrusted_regexp/ruby_syntax.rb
@@ -6,7 +6,7 @@ module Gitlab
# and converts that to RE2 representation:
# /<regexp>/<flags>
class RubySyntax
- PATTERN = %r{^/(?<regexp>.*)/(?<flags>[ismU]*)$}.freeze
+ PATTERN = %r{^/(?<regexp>.*)/(?<flags>[ismU]*)$}
# Checks if pattern matches a regexp pattern
# but does not enforce it's validity