You should not use Pattern.compile when you did replace the pattern, which a user did define.
Please find a solution, so we can use the Pattern.compile functionality to setup more flexible solutions for white- and blacklisting, because at the moment, the blacklist is not applicable, if you want blacklist a whole toplevel as an example. And so on, you cant whitelist a whole country or whitelist everyone.
Please fill in a special char or a config variable, which indicates that we can use the pattern natively to Pattern.compile instead of your replacing function.
You should not use Pattern.compile when you did replace the pattern, which a user did define.
Please find a solution, so we can use the Pattern.compile functionality to setup more flexible solutions for white- and blacklisting, because at the moment, the blacklist is not applicable, if you want blacklist a whole toplevel as an example. And so on, you cant whitelist a whole country or whitelist everyone.
Please fill in a special char or a config variable, which indicates that we can use the pattern natively to Pattern.compile instead of your replacing function.