G
George Ter-Saakov
Hi.
I need some info where to look for following data object (aka map).
It acts as a map but accept a Regexp as a key. (support of * and ? will be
sufficient).
So if i try look for string it should return most suitable pair.
Example:
I loaded my map with following keys "test", "test\*", "test1"
So result from search of "test" will be first pair.
result from search of "test\dir" will be second pair.
And result from search of "dir" will be null
Thanks.
George.
I need some info where to look for following data object (aka map).
It acts as a map but accept a Regexp as a key. (support of * and ? will be
sufficient).
So if i try look for string it should return most suitable pair.
Example:
I loaded my map with following keys "test", "test\*", "test1"
So result from search of "test" will be first pair.
result from search of "test\dir" will be second pair.
And result from search of "dir" will be null
Thanks.
George.