bible-technology / scripture-burrito

Scripture Burrito Schema & Docs 🌯
http://docs.burrito.bible/
MIT License
21 stars 14 forks source link

Problem with prefixedIds #309

Closed FoolRunning closed 1 year ago

FoolRunning commented 1 year ago

I've been implementing SB 1.0 for Paratext and there seems to be a problem with prefixedId fields. The regular expression to validate is: ^[0-9a-zA-Z][0-9a-zA-Z\\-]{1,31}::\\S+$

This seems to require a backslash and 'S' characters at the end of the string instead of non-whitespace characters. I'm fairly certain the last backslash should only be a single backslash: ^[0-9a-zA-Z][0-9a-zA-Z\\-]{1,31}::\S+$

FoolRunning commented 1 year ago

Sorry. Ignore this issue. It turns out the problem was not having a double colon '::' and not a problem with the regular expression. 🫢