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.99.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.99.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.98.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.98.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.96.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.95.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.95.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.94.2 lib/cocina/models/doi_pattern.rb
cocina-models-0.94.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.94.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.93.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.93.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.92.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.91.4 lib/cocina/models/doi_pattern.rb
cocina-models-0.91.3 lib/cocina/models/doi_pattern.rb
cocina-models-0.91.2 lib/cocina/models/doi_pattern.rb
cocina-models-0.91.1 lib/cocina/models/doi_pattern.rb
cocina-models-0.91.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.90.0 lib/cocina/models/doi_pattern.rb
cocina-models-0.89.1 lib/cocina/models/doi_pattern.rb