Swiftpack.co - sfomuseum/swift-accession-numbers as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by sfomuseum.
sfomuseum/swift-accession-numbers v0.0.5
Swift package for extracting accession numbers from text using the sfomuseum/accession-numbers data.
⭐️ 0
🕓 4 days ago
.package(url: "https://github.com/sfomuseum/swift-accession-numbers.git", from: "v0.0.5")

swift-accession-numbers

Swift package for extracting accession numbers from text using the sfomuseum/accession-numbers data.

Important

This is work in progress. It may still change and lacks documentation.

Getting started

To get started have a look at Tests/AccessionNumbersTests/AccessionNumbersTests.swift

As of this writing this package recognizes accession numbers but is still not able to extract them from arbitrary text, like a wall label. I am still feeling my way around regular expressions in Swift so any help or suggestions would be welcome.

See also

GitHub

link
Stars: 0
Last commit: 4 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.0.5
4 days ago
  • Update ExtractFromText to not return an error on any individual pattern miss

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics