summaryrefslogtreecommitdiff
path: root/pod/perlrequick.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-01-07 19:05:06 -0700
committerKarl Williamson <khw@cpan.org>2021-01-20 06:51:49 -0700
commit20420ba9e016c0a7de5df27b5ab1fefd7902a766 (patch)
treed157a6a79342d614f6a88a226edaa639b57a20f4 /pod/perlrequick.pod
parenta25b770c008a6e530595a4b555443e2b65289a65 (diff)
downloadperl-20420ba9e016c0a7de5df27b5ab1fefd7902a766.tar.gz
Allow empty lower bound in /{,n}/
This change has been planned for a long time, bringing Perl into parity with similar languages, but it took many deprecation cycles to be able to reach the point where it could safely go in. This fixes GH #18264
Diffstat (limited to 'pod/perlrequick.pod')
-rw-r--r--pod/perlrequick.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlrequick.pod b/pod/perlrequick.pod
index 5c5030c24c..6a70e9cd0d 100644
--- a/pod/perlrequick.pod
+++ b/pod/perlrequick.pod
@@ -363,6 +363,10 @@ C<a{n,}> = match at least C<n> or more times
=item *
+C<a{,n}> = match C<n> times or fewer
+
+=item *
+
C<a{n}> = match exactly C<n> times
=back