Skip to content

Commit 8ebdaaa

Browse files
Remove redundant regex excape
1 parent 4c6f67e commit 8ebdaaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/quayio/scanner/image.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Quayio
22
module Scanner
33
class Image
44
RELEVANT_SEVERITIES = %w[High Critical].freeze
5-
QUAY_IO_REPO_NAME = %r{quay.io\/(?<org>[\w-]+)\/(?<repo>[\w-]+):(?<tag>[\w\.-]+)}.freeze
5+
QUAY_IO_REPO_NAME = %r{quay.io\/(?<org>[\w-]+)\/(?<repo>[\w-]+):(?<tag>[\w.-]+)}.freeze
66

77
attr_reader :name, :whitelist, :repository
88

0 commit comments

Comments
 (0)