lib/rspec/iso8601/regexp.rb in rspec-iso8601-0.1.0 vs lib/rspec/iso8601/regexp.rb in rspec-iso8601-0.2.0

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true module RSpec module ISO8601 - REGEXP = /^\d{4}-\d{2}-\d{2}T(?:\d{2}:){2}\d{2}(?:\.(?<usec>\d+))?(?:Z|[\-+]\d{2}:\d{2})$/.freeze + REGEXP = /^\d{4}-\d{2}-\d{2}T(?:\d{2}:){2}\d{2}(?:\.(?<usec>\d+))?(?<offset>Z|[\-+]\d{2}:\d{2})$/.freeze end end