aboutsummaryrefslogtreecommitdiff
path: root/po/quot.sed
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2024-03-29 19:53:25 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2024-04-01 03:22:50 +0000
commit3455cfeca5032698ea16b9971ef30bbb0fbfd0a4 (patch)
treedfb34ae0112ddd2c5020679cadf73c1129352d5c /po/quot.sed
parentCVE-2024-3094: remove .gitignore (diff)
downloadxz-3455cfeca5032698ea16b9971ef30bbb0fbfd0a4.tar.xz
CVE-2024-3094: import xz-5.6.1.tar.xzjiatan/v5.6.1/unpack
Diffstat (limited to 'po/quot.sed')
-rw-r--r--po/quot.sed6
1 files changed, 6 insertions, 0 deletions
diff --git a/po/quot.sed b/po/quot.sed
new file mode 100644
index 00000000..0122c463
--- /dev/null
+++ b/po/quot.sed
@@ -0,0 +1,6 @@
+s/"\([^"]*\)"/“\1”/g
+s/`\([^`']*\)'/‘\1’/g
+s/ '\([^`']*\)' / ‘\1’ /g
+s/ '\([^`']*\)'$/ ‘\1’/g
+s/^'\([^`']*\)' /‘\1’ /g
+s/“”/""/g