Added note that explains that unused code was removed.
This commit is contained in:
parent
8b209df253
commit
3890d0abdb
|
@ -24,6 +24,10 @@ import java.util.regex.Pattern;
|
||||||
* Commonly used regular expression patterns.
|
* Commonly used regular expression patterns.
|
||||||
*/
|
*/
|
||||||
public final class PatternsCompat {
|
public final class PatternsCompat {
|
||||||
|
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
// CHANGED: Removed unused code //
|
||||||
|
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
public static final Pattern IP_ADDRESS = Pattern.compile(
|
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]"
|
"((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]"
|
+ "[0-9]|[0-1][0-9]{2}|[1-9][0-9]|[1-9]|0)\\.(25[0-5]|2[0-4][0-9]|[0-1]"
|
||||||
|
|
Loading…
Reference in New Issue