Sha256: 86a1a26b5e1d5a41cb8ac4d75d664b1419259abedcafefed629783893433d158

Contents?: true

Size: 206 Bytes

Versions: 21

Compression:

Stored size: 206 Bytes

Contents

# frozen_string_literal: true

module Cocina
  module Models
    DoiPattern = Types::String.constrained(format: %r{^10\.(25740|80343)/[b-df-hjkmnp-tv-z]{2}[0-9]{3}[b-df-hjkmnp-tv-z]{2}[0-9]{4}$})
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cocina-models-0.89.0 lib/cocina/models/doi_pattern.rb