We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0785d10 commit d7dbc30Copy full SHA for d7dbc30
ide/plugins/perl-format/src/content/formats/perl-rc.js
@@ -27,14 +27,12 @@ var formatter = this;
27
string = function(value) {
28
if (value != null) {
29
value = value.replace(/\\/g, '\\\\');
30
- value = value.replace(/\"/g, '\\"');
+ value = value.replace(/\'/g, '\\\'');
31
value = value.replace(/\r/g, '\\r');
32
value = value.replace(/\n/g, '\\n');
33
- value = value.replace(/@/g, '\\@');
34
- value = value.replace(/\$/g, '\\$');
35
- return '"' + value + '"';
+ return '\'' + value + '\'';
36
} else {
37
- return '""';
+ return '\'\'';
38
}
39
40
0 commit comments