Seems that Mac doesn't use GNU grep but BSD grep. This means that no Perl option is available in Mac grep without installing extra sofware.
The option here is to check the OS and build the custom paths as we did before (14d11dc2843c7eeab239b9ba215fc00c89bd50e7) with grep -E for Mac, and left the grep -P option for Win and Linux.
Seems that Mac doesn't use GNU
grep
but BSDgrep
. This means that no Perl option is available in Macgrep
without installing extra sofware.The option here is to check the OS and build the custom paths as we did before (14d11dc2843c7eeab239b9ba215fc00c89bd50e7) with
grep -E
for Mac, and left thegrep -P
option for Win and Linux.