John
29d
Well, except that's not a complete test of whether a string is a URL, with lots of false positives and false negatives in its future. But you knew this and would never use that in code others relied on.