Skip to content

Commit

Permalink
better pattern descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 15, 2012
1 parent 44b329d commit d6cc42e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Mojolicious/Routes/Pattern.pm
Expand Up @@ -393,7 +393,7 @@ Construct a new pattern object.
my $result = $pattern->match('/foo/bar');
my $result = $pattern->match('/foo/bar', $detect);
Match pattern against a path.
Match pattern against entire path, format detection is disabled by default.
=head2 C<parse>
Expand All @@ -414,7 +414,8 @@ Render pattern into a path with parameters.
my $result = $pattern->shape_match(\$path);
my $result = $pattern->shape_match(\$path, $detect);
Match pattern against a path and remove matching parts.
Match pattern against path and remove matching parts, format detection is
disabled by default.
=head1 SEE ALSO
Expand Down

0 comments on commit d6cc42e

Please sign in to comment.