Andreas Granig writes:
If the dialplan entry has match_exp="^999" and subst_exp="^999" and repl_exp="" and my $rU is "999123", I'd expect $var(out) to be "123", because an empty replacement part is perfectly valid for a regex.
repl_exp is not regex. it is replacement expression where you can refer to () parts of subt_exp as \1, \2, etc. if repl_exp is empty, result is empty.
- juha