Closed Boby360 closed 1 year ago
Don't add an extra \ It doesn't work. Can compare
(((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4})
vs
(((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\\b){4})
on a regex test website and it confirms that 192.168.0.1 or other local IP ranges don't match. https://regex101.com/
Don't add an extra \ It doesn't work. Can compare
(((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4})
vs
(((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\\b){4})
on a regex test website and it confirms that 192.168.0.1 or other local IP ranges don't match. https://regex101.com/