Lines Matching refs:matchlist
2239 …CheckDefAndScriptFailure2(['matchlist(0z12, "p")'], 'E1013: Argument 1: type mismatch, expected st…
2240 …CheckDefAndScriptFailure2(['matchlist(["s"], [2])'], 'E1013: Argument 2: type mismatch, expected s…
2241 …CheckDefAndScriptFailure2(['matchlist("s", "p", "q")'], 'E1013: Argument 3: type mismatch, expecte…
2242 …CheckDefAndScriptFailure2(['matchlist("s", "p", 1, "r")'], 'E1013: Argument 4: type mismatch, expe…
2244 assert_equal(l, matchlist('ab12cd', '12'))
2245 assert_equal([], matchlist('ab12cd', '34'))
2246 assert_equal(l, matchlist('ab12cd12ef', '12', 4))
2248 assert_equal(l, matchlist('abcd', '..', 0, 3))
2250 assert_equal(l, matchlist(['a', 'b', 'c'], 'b'))
2251 assert_equal([], matchlist(['a', 'b', 'c'], 'd'))
2252 assert_equal(l, matchlist(['a', 'b', 'c', 'b', 'd', 'b'], 'b', 2))
2253 assert_equal(l, matchlist(['a', 'b', 'c', 'b', 'd', 'b'], 'b', 2, 2))
2254 matchlist('', 'a')->assert_equal([])
2255 matchlist('abc', '')->assert_equal(repeat([''], 10))
2256 matchlist('', '')->assert_equal(repeat([''], 10))