lib/licensee/matchers/copyright_matcher.rb in licensee-8.3.1 vs lib/licensee/matchers/copyright_matcher.rb in licensee-8.4.0
- old
+ new
@@ -1,9 +1,10 @@
# encoding=utf-8
module Licensee
module Matchers
class Copyright
- REGEX = /\s*Copyright (©|\(c\)|\xC2\xA9)? ?(\d{4}|\[year\])(.*)?\s*/i
+ # rubocop:disable Metrics/LineLength
+ REGEX = /\s*(Copyright|\(c\)) (©|\(c\)|\xC2\xA9)? ?(\d{4}|\[year\])(.*)?\s*/i
def initialize(file)
@file = file
end