On 05/07/12 14:28, Juha Heinanen wrote:
Richard Fuchs writes:
But why are parts NOT matched by the subst_exp
stripped from the output
string? With a subst_exp of "(.)" and a repl_exp of "\1", I'd
expect the
output string to be unchanged.
if you have subst_exp (.*) and repl_exp \1, then you will get the whole
thing as result.
I know that, but that doesn't answer my question. :) Regex substitutions
work the same everywhere, s/(.)/\1/ in sed or Perl for example leaves
the string unchanged. Why is the dialplan module different?
BR
Richard