actually url/uri spec is surprisingly complex, I’m not even sure it’s possible to fully/correctly match it with regex without false positives or negatives, especially in twitters case where even things like “google.com” are accepted as valid urls (without the protocol part, which is otherwise mandatory)
actually url/uri spec is surprisingly complex, I’m not even sure it’s possible to fully/correctly match it with regex without false positives or negatives, especially in twitters case where even things like “google.com” are accepted as valid urls (without the protocol part, which is otherwise mandatory)