ssbc / ssb-ref

check if a string is a valid ssb-reference
MIT License
14 stars 10 forks source link

re-add regexp exporting #26

Closed mixmix closed 5 years ago

mixmix commented 5 years ago

@dominictarr this is a courtesy PR and also just a satefy check.

I'm adding exporting of regexps back in because I've been depending on these quite a lot to build JSON-schema, and without these pretty much every schema I've written breaks unless I use an old version of ssb-ref

mixmix commented 5 years ago

published as 2.13.5

dominictarr commented 5 years ago

oh sorry, I didn't realize anything used those. ... I'm guessing you used those because JSON schema allows inline regexps?

mixmix commented 5 years ago

yep, I'm trusting these as regex to check string formats.

On Fri, 2 Nov 2018 at 15:01 Dominic Tarr notifications@github.com wrote:

oh sorry, I didn't realize anything used those. ... I'm guessing you used those because JSON schema allows inline regexps?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/ssbc/ssb-ref/pull/26#issuecomment-435246993, or mute the thread https://github.com/notifications/unsubscribe-auth/ACitnjOxGd4VcdSj2K-eK4rSBBgxYJhCks5uq6dmgaJpZM4YFrmT .