At the moment these two classes have similar checks to identify anchors and relative URLs or absolute URLs:
- PhutilRemarkupDocumentLinkRule
- PhutilRemarkupHyperlinkRule
This can be somehow generalized to simplify the general question "is this damn link pointing to an internal resource?"
Goals:
[ ] clear method to identify an anchor
[ ] clear method to identify a relative URL
[ ] clear method to identify an URL pointing to a domain that is my very same `base-uri`