2.0: Normalize behavior of .length operation
Until now (except for version 1.3
, sorry, you should go to 1.3.1
if this affects you) .length
operator always behaved in the smartGet
manner.
Starting with this version, .length
will behave as any other operator. That is, it will always return an array of results, even if there is just one, unless smartGet
is enabled, then it'll work in the same way smartGet
works for every other operation: return the result directly, if the path does not diverge, or return an array of results, if the path diverges.
Also, fix regex so that array interval selector of the type [:3]
work.