gbv / jskos-tools

Tools for working with the JSKOS data format.
https://gbv.github.io/jskos-tools/
MIT License
2 stars 0 forks source link

Umlauts in Notations don't work #33

Open nichtich opened 2 years ago

nichtich commented 2 years ago

Given a notationPattern such as [A-ZÄÖÜ]+, the corresponding uriPattern cannot be created automatically because Umlauts in URI become multiple characters. Same applies for spaces, e.g. [a-z ] will be mapped to [a-z%20] instead of [a-z]|%20.

nichtich commented 2 years ago

Current version supports umlauts but no other special characters and regular expression must be e.g. a|ä instead of [aä]. This should be documented.