Skip to content

Commit

Permalink
Fix the regex, so FF is no longer complaining (#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
BentiGorlich authored Sep 3, 2024
1 parent bd351f2 commit 58aeacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/RegPatterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class RegPatterns
{
public const MAGAZINE_NAME = '/^[a-zA-Z0-9_]{2,25}$/';
public const USERNAME = '/^[a-zA-Z0-9_-]{1,30}$/';
public const USERNAME = '/^[a-zA-Z0-9_\-]{1,30}$/';
public const LOCAL_MAGAZINE = '/^@\w{2,25}\b/';
public const LOCAL_USER = '/^@[a-zA-Z0-9_-]{1,30}\b/';
public const AP_MAGAZINE = '/^(!\w{2,25})(@)(([a-z0-9|-]+\.)*[a-z0-9|-]+\.[a-z]+)/';
Expand Down

0 comments on commit 58aeacd

Please sign in to comment.