- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for parseAutoLinkURI (0.18 sec)
-
src/cmd/vendor/rsc.io/markdown/inline.go
return &Plain{s[i : i+n]}, start, i + n, true } func parseAutoLinkOrHTML(p *parseState, s string, i int) (Inline, int, int, bool) { if x, end, ok := parseAutoLinkURI(s, i); ok { return x, i, end, true } if x, end, ok := parseAutoLinkEmail(s, i); ok { return x, i, end, true } if x, end, ok := parseHTMLTag(p, s, i); ok { return x, i, end, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/link.go
} } dest := s[i:j] // TODO: Validate dest? // TODO: Unescape? // NOTE: CommonMark Dingus does not reject control characters. return mdUnescape(dest), j, true } func parseAutoLinkURI(s string, i int) (Inline, int, bool) { // CommonMark 0.30: // // For purposes of this spec, a scheme is any sequence of 2–32 characters // beginning with an ASCII letter and followed by any combination of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0)