summaryrefslogtreecommitdiff
path: root/tool/unicode_norm_gen.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/unicode_norm_gen.rb')
-rw-r--r--tool/unicode_norm_gen.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/unicode_norm_gen.rb b/tool/unicode_norm_gen.rb
index 5f2545075b..766be26dc4 100644
--- a/tool/unicode_norm_gen.rb
+++ b/tool/unicode_norm_gen.rb
@@ -17,7 +17,7 @@ class Integer
elsif self>0x7f
"\\u#{to_s(16).upcase.rjust(4, '0')}"
else
- chr.sub(/[\\\"]/, '\\\&')
+ chr.sub(/[\\\"]/, "\\\\\\\&")
end
end
end