gbv / SignaturenDruck

An electron application to print shelfmarks onto labels
https://verbundwiki.gbv.de/display/VZG/SignaturenDruck+der+ThULB+Jena
Creative Commons Zero v1.0 Universal
3 stars 2 forks source link

Automatically choose format based on signature #27

Closed jsubhi closed 5 years ago

jsubhi commented 5 years ago

level: high Replaces: #15 (split this ticket into individual issues) It should be possible to automatically choose the appropriate format based on the signature itself by using a regex. The regex should include location information (Sonderstandort).

E.g. 7100 !MAGAZIN!53 : 123456 -> Format Magazin if m/MAGAZIN/ 7100 Glm Mada -> Format Handapparat if m/\w{3}\s\w{4}/ 7100 GER 17 : A 35 -> Format Freihand default

EliDeh commented 5 years ago

implemented as of v1.1.0-a, but the location is not part of the regex