#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
---------------------+----------------------
Changes (by jsiwek):

 * status:  closed => reopened
 * type:  Merge Request => Task
 * resolution:  fixed =>


Comment:

 Replying to [comment:4 robin]:
 > Merging, but what would you guys think about {{{s[1:4]}}} instead of
 {{{s[1,4]}}} (i.e., Pythonian)?

 I had done it like `s[1,4]` just because that's the style other indexing
 in the language used, but I think I side with Vern's argument for `s[1:4]`
 if we were to vote now.  I'll work on changing it in about a week unless
 there's more discussion in the meantime.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/422#comment:10>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker

_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to