Skip to content
/ urichk Public

schema for checking uri

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

riiid/urichk

Repository files navigation

urichk

schema for checking uri

syntax specification

example

// this is
/* urichk example */
https://example.com/foo/[bar]/baz {
    ? match /^param1=.+?&param2=.+$/
    ? form {
        param1 = /^.+$/
        param2 [] = /^.+$/
    }
    # match
        | id1
        | id2
}