Skip Menu |

This queue is for tickets about the YAPE-Regex CPAN distribution.

Report information
The Basics
Id: 33457
Status: new
Priority: 0/
Queue: YAPE-Regex

People
Owner: Nobody in particular
Requestors: a.r.ferreira [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [DOC PATCH] type as a method for YAPE::Regex::Element
Date: Wed, 20 Feb 2008 09:28:08 -0300
To: bug-YAPE-Regex [...] rt.cpan.org, "Jeff Pinyan" <PINYAN [...] cpan.org>
From: "Adriano Ferreira" <a.r.ferreira [...] gmail.com>
When working with this module, I felt at first a method for returning the type of a node, but it was there at the various classes. It just was not documented in the general list of YAPE::Regex::Element methods. Kind regards, Adriano Ferreira diff -ru YAPE-Regex-3.03/Regex/Element.pm YAPE-Regex/Regex/Element.pm --- YAPE-Regex-3.03/Regex/Element.pm 2001-05-02 21:13:34.000000000 -0300 +++ YAPE-Regex/Regex/Element.pm 2008-02-20 09:20:28.000000000 -0300 @@ -423,6 +423,11 @@ Returns a C<?> if the node is non-greedy, and an empty string otherwise. +=item * C<my $type = $obj-E<gt>type;> + +Returns a string with the corresponding type of the node +(eg. "anchor", "group"). + =back =head2 Methods for C<YAPE::Regex::anchor>

Message body is not shown because sender requested not to inline it.