Skip to content

Commit 98c244c

Browse files
author
Donald Hunter
committed
Fix the index entries for frugal and backtracking
1 parent 2706fad commit 98c244c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Language/regexes.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ occur between each of the matches. So, for example C<a+ % ','> will match
378378
C<a> or C<a,a> or C<a,a,a> or so on, but it will not match C<a,> or C<a,a,>.
379379
To match those as well, you may use C<%%> instead of C<%>.
380380
381-
=head2 X<Greedy versus frugal quantifiers: ! and ?>
381+
=head2 X<Greedy versus frugal quantifiers: ?|regex,?>
382382
383383
By default, quantifiers request a greedy match:
384384
@@ -395,7 +395,7 @@ matching:
395395
396396
You can also explicitly request greedy matching with the C<!> modifier.
397397
398-
=head2 X<Preventing backtracking: :>
398+
=head2 X<Preventing backtracking: :|regex,:>
399399
400400
You can prevent backtracking in regexes by attaching a C<:> modifier
401401
to the quantifier:

0 commit comments

Comments
 (0)