[link](#fragment)

[link](https://example.com#fragment)

[link](https://example.com?foo=3#frag)


----------

(Document
  (Paragraph
    LinkRegion(content=['link'], url='#fragment'))
  (Paragraph
    LinkRegion(content=['link'], url='https://example.com#fragment'))
  (Paragraph
    LinkRegion(content=['link'], url='https://example.com?foo=3#frag')))
