Permits to run the script on simpler/lighter Linux distributions, e.g. OpenWRT, where the grep utility available does not permit to use Perl extended regexp (the `grep -P` option)