http://qs321.pair.com?node_id=867620


in reply to Re^2: How to eval an array element in regex's substitution
in thread How to eval an array element in regex's substitution

Maybe you think it simply.
The $s is dynamic.It is maybe  "[2][1]" or maybe "[9]  [8] [3]",
. I only wanna to replace the  [xx]with a fix array's element.
But the rule is , the  [xx] is index of the array!