I'm running Beyond Compare v3.2.4, and I can't seem to find a good way to add support for Perl's "here-document" syntax for specifying a string. Here's example syntax from wikipedia:
print <<"END";
Dear $recipient,
I wish you to leave Sunnydale and never return.
Not Quite Love,
$sender
END
I wrote a simple rule for the short term, treating everything from <<EOF to ^EOF$ as a string, but BC's default Perl rules should have something a little more advanced to handle single quotes, double quotes, backticks, bare and multiple here-document tags on a single line.
print <<"END";
Dear $recipient,
I wish you to leave Sunnydale and never return.
Not Quite Love,
$sender
END
I wrote a simple rule for the short term, treating everything from <<EOF to ^EOF$ as a string, but BC's default Perl rules should have something a little more advanced to handle single quotes, double quotes, backticks, bare and multiple here-document tags on a single line.
Comment