[sr-dev] dialplan and empty repl_exp
Juha Heinanen
jh at tutpro.com
Mon May 7 20:11:34 CEST 2012
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
More information about the sr-dev
mailing list