Skip to content

Commit

Permalink
Change to POD markup
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 25, 2022
1 parent 4a36f18 commit 25180c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Language/regexes.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,9 @@ character that is not whitespace.
=head3 X<C<\d> and C<\D>|regex,\d;regex,\D>
C<\d> matches a single decimal digit (Unicode General Category I<Number, Decimal Digit>, C<Nd>); conversely, C<\D> matches a
single character that is *not* a decimal digit.
C<\d> matches a single decimal digit (Unicode General Category I<Number, Decimal
Digit>, C<Nd>); conversely, C<\D> matches a
single character that is I<not> a decimal digit.
'ab42' ~~ /\d/ and say ~$/; # OUTPUT: «4␤»
'ab42' ~~ /\D/ and say ~$/; # OUTPUT: «a␤»
Expand Down

0 comments on commit 25180c5

Please sign in to comment.