On, Mac OS X I'm trying to use expr
to extract an IP address from a URL string.
expr tcp://192.168.59.103:2376 : '^\([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\)'
This returns an empty string.
On, Mac OS X I'm trying to use expr
to extract an IP address from a URL string.
expr tcp://192.168.59.103:2376 : '^\([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\)'
This returns an empty string.