Skip to content

ISBN with hyphens #21

@dazza-codes

Description

@dazza-codes

For an ISBN [1], can the extractor return a value that retains the hyphens?

Given the variable length of ISBN parts, it's not possible to reconstruct the hyphens or spaces once they are removed. It's desirable to validate and extract an ISBN while retaining the spaces or hyphens in it.

Identifiers::ISBN.extract '978-92-95055-02-5'
=> ["9789295055025"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions