From c5389e56a61f4b41b3881686d4e5e016a4da689b Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 4 Apr 2021 00:50:55 +0200 Subject: [PATCH] Add some punctuation characters before and after letters --- pgcollate | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pgcollate b/pgcollate index 8b5a7ad..4cb8541 100755 --- a/pgcollate +++ b/pgcollate @@ -16,6 +16,8 @@ for c in range(0xE000, 0x110000): csr.execute("insert into t_pgcollate(t) values(%s)", (chr(c),)) for s in ('asa', 'asb', 'assa', 'aßa', 'ata', 'bab', 'bäb', 'bac', ): csr.execute("insert into t_pgcollate(t) values(%s)", (s,)) +for s in ('aa', 'aa-', '-ab', '[ab]', '~ab', 'ab', ): + csr.execute("insert into t_pgcollate(t) values(%s)", (s,)) db.commit() csr.execute("select * from t_pgcollate order by t") for r in csr: