I have read the readme announcement and the Perl documentations, and I think I should be able to use named references.
The target string is: next: 04:11:21
The search string is: next: (?<nxt>\d{2}:\d{2}:\d{2})
This is recognized as a valid regular expression.
The replace string again: \1 works fine.
I think, I should be able to do a replacement with a replace string like: again: \g{nxt}
But that does not work. What am I doing wrong?
I tried various combinations of \k as well.
Thanks.
The target string is: next: 04:11:21
The search string is: next: (?<nxt>\d{2}:\d{2}:\d{2})
This is recognized as a valid regular expression.
The replace string again: \1 works fine.
I think, I should be able to do a replacement with a replace string like: again: \g{nxt}
But that does not work. What am I doing wrong?
I tried various combinations of \k as well.
Thanks.