From: Vincent Pit Date: Thu, 26 Feb 2009 14:42:04 +0000 (+0100) Subject: ->capture also returns the object X-Git-Tag: v1.03~4 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=b402ceab6bbf7040f8cae87bf08a725b8097750f;p=perl%2Fmodules%2FRegexp-Wildcards.git ->capture also returns the object --- diff --git a/lib/Regexp/Wildcards.pm b/lib/Regexp/Wildcards.pm index f0b471a..1b3b4e9 100644 --- a/lib/Regexp/Wildcards.pm +++ b/lib/Regexp/Wildcards.pm @@ -399,6 +399,8 @@ C<'brackets'> will capture matching C<{ ... , ... }> alternations. $rw->capture(rem => 'greedy'); # No more greed please. $rw->capture(); # Capture nothing. +The C method returns the L object. + =head2 C Converts the wildcard expression C<$wc> into a regular expression according to the options stored into the L object, or to C<$type> if it's supplied.