Remove string indexing by string (fix #454)

This turns out to have been a bad idea:

    "foo"|.["o"]

it interacts badly with `path()`.

See #454 for the gory details.
This commit is contained in:
Nicolas Williams committed 2014-12-30 11:31:52 -06:00
1 parent c308b2881f
commit cbfc0d6130
3 files changed
+11 -17

No files matched your search

-12
View File
@@ -902,18 +902,6 @@ gsub("(?<x>.)[^a]*"; "+\(.x)-")
["fo", "foo", "barfoo", "foobar", "foob"]
["fo","","bar","foobar","foob"]
.[","]
"a,bc,def,ghij,klmno"
[1,4,8,13]
.[", "]
"a,bc,def,ghij,klmno"
[]
.[", "]
"a,b,, c, d,ef, , ghi, jklmn, o"
[4,7,13,15,20,27]
[(index(","), rindex(",")), indices(",")]
"a,bc,def,ghij,klmno"
[1,13,[1,4,8,13]]