![]() |
|
Message-Id: <20251004230033.1606949-1-musl@raf.org> Date: Sun, 5 Oct 2025 10:00:32 +1100 From: raf <musl@....org> To: musl@...ts.openwall.com Subject: [PATCH] fnmatch: add bare minimum support for character equivalents Hi, fnmatch() parses character equivalents like [[=e=]] but it doesn't attempt to match them. I think it's common to not handle character equivalents properly, but I think that most implementations at least treat "[[=e=]]" as though it were just "e". This (six line) patch does that. Collating sequences (e.g. [[.ch.]]) are also parsed but not handled. This patch does nothing about that. cheers, raf
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.