Skip to content

Commit

Permalink
Fix Phone Pattern Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-ducrot committed Mar 25, 2024
1 parent 27192ef commit 652e7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/RegexUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class RegexUtils
{
public const PHONE_PATTERN = '#^(\+[0-9]{2})?[0-9]{10}$#';
public const PHONE_PATTERN = '#^(\+[0-9]{1})?[0-9]{10}$#';
public const PHONE_MESSAGE = 'phone.regex_error';
public const FAX_MESSAGE = 'fax.regex_error';

Expand Down

0 comments on commit 652e7e6

Please sign in to comment.