in reply to Re^2: smartmatch and index
in thread smartmatch and index
i think being able to get the index (array 'position') based on the result of a positive smartmatch is very useful.
Indeed, and I showed you how to do it.
it would be nice if the smartmatch function could be a bit more "telling".
Smart match has nothing to do with arrays. It can't return indexes when most match rules don't even involve indexes.
|
|---|