We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7120e64 commit 6e9e76eCopy full SHA for 6e9e76e
src/Rules/Regex.php
@@ -12,7 +12,7 @@ class Regex
12
public const CATEGORY_REGXP = '/^[A-Z0-9\_]+$/';
13
public const ITEM_LINK_REGXP = '/^[a-zA-Z0-9\_\-\.]+$/';
14
public const SERVER_REGXP = '/^([a-zA-Z]+)*$/';
15
- public const LOGIN = "/^[a-zA-Z0-9_-]{2,64}$/";
+ public const LOGIN = "/^[a-zA-Z0-9_-]{1,64}$/";
16
public const USERNAME = "/^\w{2,16}$/";
17
public const UUID_NO_DASH = "/^[0-9a-f]{32}/";
18
public const UUIDv1_AND_v4 = "/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}/";
0 commit comments