Skip to content

Commit 0e0fac8

Browse files
committed
Add regex constant
1 parent e9e9b51 commit 0e0fac8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package net.onelitefeather.plugindebug
2+
3+
internal val PRIVACY_REGEX =
4+
Regex(pattern = "\\b(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\\.(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\\.(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\\.(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\\b")

0 commit comments

Comments
 (0)