in reply to Re^3: Executing CGI/web form directives in regex substitution without pages of code
in thread Executing CGI/web form directives in regex substitution without pages of code
That's a great question, and until you asked it, I hadn't even caught that. (I had just copy/pasted the error straight from the log, and noticed it was focused on that regex section.)
The code did not contain a double backslash. I copied that line exactly as you had posted it, and it was and still is as follows in the code:
foreach my $line (@data) { push @changed, $line =~ s{$s$c$b\K$m(?=$b$c$e)}{$regexR}r; }
I haven't used the //r before. That is new to me. What does it do? I wondered if it might be the syntax error.
Blessings,
~Polyglot~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Executing CGI/web form directives in regex substitution without pages of code
by jo37 (Curate) on Feb 19, 2020 at 22:52 UTC | |
|
Re^5: Executing CGI/web form directives in regex substitution without pages of code
by AnomalousMonk (Archbishop) on Feb 20, 2020 at 03:09 UTC |