gbv / bartoc.org

Source code of BARTOC.org user interface
https://bartoc.org/
23 stars 10 forks source link

Check regular expressions like notation pattern for correctness #149

Open stefandesu opened 2 years ago

stefandesu commented 2 years ago

Incorrect regular expressions can lead to issues with client applications that use BARTOC data. For example, the FOS classification has an incorrect notation pattern [1-6](\.([1-9]\|1[0-9])? that causes issues with Cocoda. (Note that I'm going to fix the data so you won't be able to look up the incorrect pattern on the website.)