mirror of https://github.com/licensee/licensee.git
parent
9bc8916d88
commit
2ac4b6d4fc
|
@ -8,7 +8,7 @@ module Licensee
|
|||
PREFERRED_EXT_REGEX = /\.#{Regexp.union(PREFERRED_EXT)}\z/
|
||||
|
||||
# Regex to match any extension except .spdx or .header
|
||||
OTHER_EXT_REGEX = %r{\.(?!spdx|header)[^./]+\z}i
|
||||
OTHER_EXT_REGEX = %r{\.(?!spdx|header|gemspec)[^./]+\z}i
|
||||
|
||||
# Regex to match, LICENSE, LICENCE, unlicense, etc.
|
||||
LICENSE_REGEX = /(un)?licen[sc]e/i
|
||||
|
|
Loading…
Reference in New Issue