Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed broken link and error in code example. ZoffixW++
  • Loading branch information
Jan-Olof Hendig committed May 30, 2016
1 parent 9f39706 commit ec2f4b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Type/Regex.pod
Expand Up @@ -20,7 +20,7 @@ A regex is typically constructed by a regex literal
To match a string against a regex, you can use the smart match operator:
my $match = 'abc' ~~ rx/ ^ab /;
say $match.True; # True
say $match.Bool; # True
say $match.orig; # abc
say $match.Str; # ab
say $match.from; # 0
Expand Down Expand Up @@ -58,7 +58,7 @@ failure.
multi method Bool(Regex:D:) returns Bool:D
Matches against the caller's L<$_> variable, and returns True for a match or
False for no match.
Matches against the caller's L<$_|/syntax/$_> variable, and returns C<True> for a match or
C<False> for no match.
=end pod

0 comments on commit ec2f4b5

Please sign in to comment.