Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bool() doesn't return a Match object.
Bool() returns a Bool.
  • Loading branch information
dbrunton committed Feb 10, 2016
1 parent 1601312 commit feaed2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/Type/Regex.pod
Expand Up @@ -58,6 +58,7 @@ failure.
multi method Bool(Regex:D:) returns Bool:D
Matches against the caller's L<$_> variable, and returns the L<Match> object
Matches against the caller's L<$_> variable, and returns True for a match or
False for no match.
=end pod

0 comments on commit feaed2e

Please sign in to comment.