Using ping or curl could be fine if you need to check a specific string is a url and you are connected to the internet, but how would you look for urls in a text with it? For example to quickly select urls that are shown on the terminal. I don't see other way than regexes for that.
Great video
Using ping or curl could be fine if you need to check a specific string is a url and you are connected to the internet, but how would you look for urls in a text with it? For example to quickly select urls that are shown on the terminal. I don't see other way than regexes for that.
Yes, that would be a valid use for a regex.