[Linux-disciples] Perl: displaying the part of a match that failed
Stephen R Laniel
steve at laniels.org
Fri Jun 24 15:33:57 EDT 2005
On Fri, Jun 24, 2005 at 03:23:43PM -0400, Stephen R Laniel wrote:
> Perl itself knows which part of the regex failed to match.
> It would seem silly if this information were not available.
I wonder whether the Parse::RecDescent module would help me:
http://www.perl.com/pub/a/2001/06/13/recdecent.html
I'm effectively recreating a low-grade recursive-descent
parser with my regex bit in any case.
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050624/b793421e/attachment.pgp
More information about the Linux-disciples
mailing list