]> git.vpit.fr Git - perl/modules/Regexp-Wildcards.git/blobdiff - lib/Regexp/Wildcards.pm
->capture also returns the object
[perl/modules/Regexp-Wildcards.git] / lib / Regexp / Wildcards.pm
index f0b471a8be5cea353f87254b5e3c164849e703db..1b3b4e9271d6aa1b4e0e69e742494ad9a678ca34 100644 (file)
@@ -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<capture> method returns the L<Regexp::Wildcards> object.
+
 =head2 C<convert $wc [ , $type ]>
 
 Converts the wildcard expression C<$wc> into a regular expression according to the options stored into the L<Regexp::Wildcards> object, or to C<$type> if it's supplied.