spaces need too be escaped, too, also
This commit is contained in:
parent
1d4c6d9e57
commit
7a68277bca
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ sub output_doubles(@) {
|
|||
sub output($) {
|
||||
my $string = shift;
|
||||
if ($opts{e}) {
|
||||
$string =~ s/([\&\;\`\'\\\"\|\*\?\~\<\>\^\(\)\[\]\{\}\$\010\013\020\011])/\\${1}/g;
|
||||
$string =~ s/([ \&\;\`\'\\\"\|\*\?\~\<\>\^\(\)\[\]\{\}\$\010\013\020\011])/\\${1}/g;
|
||||
print "$string";
|
||||
} else {
|
||||
print "$string";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue