parseOrNull

Parses an OpenStreetMap shortlink, or returns null when text is invalid.