A little variable like that makes no complication, also consider if someone will update the `__pattern__` in the future and will add a group before the domain name. At this point the regex will not detect the `HOSTER_NAME` correctly causing a bug.

Your approach can bring to issues in the future and requires the execution of a regex that can be avoided.
2 Cons and no Pro, so I don't agree with you.

It's the same situation of your strict patterns you were using some time ago.