aboutsummaryrefslogtreecommitdiffstats
path: root/lib/WWW/FairViewer/RegularExpressions.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WWW/FairViewer/RegularExpressions.pm')
-rw-r--r--lib/WWW/FairViewer/RegularExpressions.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/WWW/FairViewer/RegularExpressions.pm b/lib/WWW/FairViewer/RegularExpressions.pm
index 6c298f2..6b8ed5f 100644
--- a/lib/WWW/FairViewer/RegularExpressions.pm
+++ b/lib/WWW/FairViewer/RegularExpressions.pm
@@ -26,7 +26,7 @@ our $digit_or_equal_re = qr/(?(?=[1-9])|=)/;
our $non_digit_or_opt_re = qr{^(?!$range_num_re)(?>[0-9]{1,3}[^0-9]|[0-9]{4}|[^0-9$opt_begin_chars])};
# Generic name
-my $generic_name_re = qr/[a-zA-Z0-9_.\-]{11,34}/;
+my $generic_name_re = qr/[a-zA-Z0-9_.\-]{11,64}/;
our $valid_channel_id_re = qr{^(?:.*/channel/)?(?<channel_id>(?:\w+(?:[-.]++\w++)*|$generic_name_re))(?:/.*)?\z};
our $get_channel_videos_id_re = qr{^.*/channel/(?<channel_id>(?:\w+(?:[-.]++\w++)*|$generic_name_re))};