Added note that explains that unused code was removed.

This commit is contained in:
litetex 2022-07-15 19:49:41 +02:00
parent 8b209df253
commit 3890d0abdb

View file

@ -24,6 +24,10 @@ import java.util.regex.Pattern;
* Commonly used regular expression patterns.
*/
public final class PatternsCompat {
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// CHANGED: Removed unused code //
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
public static final Pattern IP_ADDRESS = Pattern.compile(
"((25[0-5]|2[0-4][0-9]|[0-1][0-9]{2}|[1-9][0-9]|[1-9])\\.(25[0-5]|2[0-4]"
+ "[0-9]|[0-1][0-9]{2}|[1-9][0-9]|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1]"