thing-at-point-bounds-of-url-at-point

thing-at-point-bounds-of-url-at-point is a compiled Lisp function in `thingatpt.el'.

(thing-at-point-bounds-of-url-at-point &optional LAX)

Return a cons cell containing the start and end of the URI at point.
Try to find a URI using `thing-at-point-markedup-url-regexp'.
If that fails, try with `thing-at-point-beginning-of-url-regexp'.
If that also fails, and optional argument LAX is non-nil, return
the bounds of a possible ill-formed URI (one lacking a scheme).