var(explicitIRIRune=pr.Character(func(chrune)bool{return!((0x0<=ch&&ch<=0x20)||strings.ContainsRune(`<>"{}|^\`,ch)||(ch=='`'))})iriRune=pr.Or(unicode4,unicode8,explicitIRIRune)iri=pr.StarString(iriRune)// Have the rdf package do the IRI validationabsoluteIRI=pr.WithAction(pr.And(lt,iri,gt),pr.Compose(pr.Second,toIRI)))
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.