[Bro-Dev] #422: Array-style index accessor for strings
Bro Tracker
bro at tracker.bro-ids.org
Mon Jan 7 11:34:30 PST 2013
#422: Array-style index accessor for strings
---------------------+----------------------
Reporter: seth | Owner: robin
Type: Task | Status: reopened
Priority: Normal | Milestone: Bro2.2
Component: Bro | Version:
Resolution: | Keywords: language
---------------------+----------------------
Comment (by jsiwek):
In [8b46bbb1c0b3aefea7fa683b53165e497a14056d/bro]:
{{{
#!CommitTicketReference repository="bro"
revision="8b46bbb1c0b3aefea7fa683b53165e497a14056d"
Change substring index notation to use a colon (addresses #422).
String slice notation is written as `s[1:2]` instead of `s[1, 2]`
because the later is ambiguous with composite index types.
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/422#comment:12>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list