It's come up a couple of times that it would be nice for pkgmogrify to be
able to define groups on the match side of the transform and use them on
the operation side of the transform.  The canonical example being:

    <transform dir file link hardlink path=.*/locale/([^/]+).* -> \
        default facet.locale.%<1> true>

where the "%<1>" in the operation side refers to whatever was matched in
the parens in the regex matching on the path attribute.

The webrev

    http://cr.opensolaris.org/~dduvall/pkg-backrefs/

implements this.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to