dialplan: match and subst with $(avp(s:xxxx)[*]) at rules

Now a dialplan rule having an avp with index all([*]) will be checked with the avp values one by one.
Example:
Having $(avp(s:list)[*]) -> "111", "222"
'^(00|\+)?$(avp(s:list)[*])$' will be checked as:
 - '^(00|\+)?111$'
 - '^(00|\+)?222$'