Skip to content
Snippets Groups Projects
Commit 17aa90a2 authored by Reto Kromer's avatar Reto Kromer Committed by GitHub
Browse files

remove inner uncaptured group

parent 7e767401
No related branches found
No related tags found
No related merge requests found
......@@ -346,7 +346,7 @@ class Version
# date-based versioning
# e.g. ltopers-v2017-04-14.tar.gz
m = /-v?((?:\d{4}-\d{2}-\d{2}))/.match(stem)
m = /-v?(?:\d{4}-\d{2}-\d{2})/.match(stem)
return m.captures.first unless m.nil?
# e.g. lame-398-1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment