Deal with negative parameters in index template names
By convention, index names can contain the letter
m to mark negative parameter as in
tngtm10 to mean
-10 as a parameter. This could probably be handled by matching for both
['tngt', 'm10'] and
['tngtm', '10']. If this leads to ambiguity we throw an error.