Open joedevivo opened 10 years ago
2> Conf = [{["a", "b", "c"], 1},{["a", "b", "d"], 2},{["a", "c", "c"], 3}]. [{["a","b","c"],1},{["a","b","d"],2},{["a","c","c"],3}] 3> cuttlefish_variable:fuzzy_matches("a.$name.c", Conf). [] 4> cuttlefish_variable:fuzzy_matches(["a", "$name", "c"], Conf). [{"$name","c"},{"$name","b"}] 5> cuttlefish_variable:fuzzy_matches(["a", "$name"], Conf). [] 6> cuttlefish_variable:fuzzy_matches(["a", "$name", "d"], Conf). [{"$name","b"}]
a) we should see "a.$name.c" and tokenize it if it's a string b) we should allow a search for "a.$name" to find everything that could start with "a.$name"
a) we should see "a.$name.c" and tokenize it if it's a string b) we should allow a search for "a.$name" to find everything that could start with "a.$name"