On Fri, 9 May 2008 10:31:16 -0400, "Jeff Gehlbach" <[EMAIL PROTECTED]>
said:
> DJ, this is awesome, thanks!
You're welcome, and thank you. :-)
> My only input is on the first feature -- for indexes where one or more
> components are variable length, it would be nice to specify an offset
> against the end of the index rather than against its beginning.
> Typically that's done by specifying a negative offset. Perl's
> substr() is a near-example, except that it takes an offset and a
> length rather than a starting and an ending offset. I don't have the
> bandwidth right now to think all the way through the best way to
> implement this, but thought I'd throw it out there.
Good suggestion! Committed in revision 9091 to trunk. Here's what the
example I gave before now looks like when it is configured:
MAC Address ${hex(subIndex(0, 6))} on interface ${subIndex(6, 1)}
- djg
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list
To *unsubscribe* or change your subscription options, see the bottom of this
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel