When selecting text to add a link, it does the other way around and adds the selected text in the link area, and puts the cursor in the title area.
When selecting text to add a link, it does the other way around and adds the selected text in the link area, and puts the cursor in the title area.
Yes a regex checking for a valid URL would do. If valid, place selection in link, else place as title.