zeek/testing/btest/Baseline/language.string-indexing
Jon Siwek 4014cdc277 Fix string slice notation, addresses BIT-1097.
Slice ranges were not correctly determined for negative indices and also
off by one in general (included one more element at the end of the
substring than what actually matched the index range).

It's now equivalent to Python slice notation.  Accessing a string at
a single index is also the same as Python except that an out-of-range
index returns an empty string instead of throwing an expection.
2013-12-03 14:39:21 -06:00
..
out Fix string slice notation, addresses BIT-1097. 2013-12-03 14:39:21 -06:00