#1528 PR merged: Use regex in variable for bash3.1 compatibility

Labels: fixed / solved / done, minor bug

schabrolles opened issue at 2017-10-06 18:26:

Change in is_ip() function to be compatible with bash 3.1 (SLES10).

using variable to store regex seems to solve the problem of quoted regex (bash <3.2) and non-quoted regex (bash >= 3.2)

This should solve issue #1522
(to be confirmed by @gdha and @jsmeix)


[Export of Github issue for rear/rear.]