Add an regexless alternative.
authorfunilrys <redacted>
Sun, 3 Sep 2023 09:22:38 +0000 (11:22 +0200)
committerfunilrys <redacted>
Sun, 3 Sep 2023 09:22:38 +0000 (11:22 +0200)
commitb3f93f1528361910abb09e06be0f2ecdc5aeb665
treef05b333b030cfacd06fd92362b4163d2c20aad10
parent560615dd7fcb0a73f9ac05c033e62ada6b31b8ad
Add an regexless alternative.

This "regexless" alternative just try to implement a more
"generic" solution to the actual "problem".

Please note that this commit will fail tests, because this commit
assume that IPs are not correct rules.

Please also note that the following test will also fail because
the new implementation assume that is actually a parsable
rule. @StevenBlack need to take a decision regarding that one rule.

0.0.0 google

Also:
  * My editor "blacked" the file.
updateHostsFile.py
git clone https://git.99rst.org/PROJECT