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"]
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.