Add a general purpose hashtable pattern matcher
commit2ebe3f6dde9a1ece4ca1914778e07f33208ca0f9
authorSteve Bennett <steveb@workware.net.au>
Sat, 12 Nov 2011 01:00:28 +0000 (12 11:00 +1000)
committerSteve Bennett <steveb@workware.net.au>
Thu, 17 Nov 2011 22:06:45 +0000 (18 08:06 +1000)
tree37231f48bd6f3fec807d9ef13603f356588aa7b3
parent2999556ded2042c03403b5bc97d64f5257572e4f
Add a general purpose hashtable pattern matcher

Invokes a callback to add elements with keys matching a pattern to a list

Use for info subcommands: commands, procs, channels, globals, locals, vars
Also: dict keys, array get

Also avoid some dict/list conversions
And simplify the implementation of array set
jim-array.c
jim.c
jim.h