[Linux-disciples] Perl: displaying the part of a match that failed

Stephen R Laniel steve at laniels.org
Fri Jun 24 15:23:43 EDT 2005


On Fri, Jun 24, 2005 at 03:18:43PM -0400, Adam Rosi-Kessel wrote:
> I could post some links from the archives, but I'll refrain for now...

I said "most." I *hope* that's true.

> I think you're hoping that there is some secret regexp extension that
> solves it for you, but I'm pretty sure that doesn't exist.

Perl itself knows which part of the regex failed to match.
It would seem silly if this information were not available.

-- 
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/4f5a5589/attachment.pgp


More information about the Linux-disciples mailing list