Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1bb7d4d2
Commit
1bb7d4d2
authored
Mar 29, 2021
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify the UUIDv5 regex
parent
32f7cd15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/uuid.rb
lib/gitlab/uuid.rb
+1
-1
No files found.
lib/gitlab/uuid.rb
View file @
1bb7d4d2
...
...
@@ -9,7 +9,7 @@ module Gitlab
production:
"58dc0f06-936c-43b3-93bb-71693f1b6570"
}.
freeze
UUID_V5_PATTERN
=
/\h{8}-\h{4}-5\h{3}-\h{4}-\h{
4}\h{8
}/
.
freeze
UUID_V5_PATTERN
=
/\h{8}-\h{4}-5\h{3}-\h{4}-\h{
12
}/
.
freeze
NAMESPACE_REGEX
=
/(\h{8})-(\h{4})-(\h{4})-(\h{4})-(\h{4})(\h{8})/
.
freeze
PACK_PATTERN
=
"NnnnnN"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment