https://bugs.exim.org/show_bug.cgi?id=2107
Bug ID: 2107 Summary: Please add support for parsing glob(3) syntax Product: PCRE Version: 10.23 (PCRE2) Hardware: All OS: All Status: NEW Severity: wishlist Priority: medium Component: Code Assignee: p...@hermes.cam.ac.uk Reporter: ava...@gmail.com CC: pcre-dev@exim.org This is similar to my just-filed wishlist bug for parsing POSIX regular expressions, see https://bugs.exim.org/show_bug.cgi?id=2106 Various programs might want to use PCRE v2 (such as Git), also have some need to provide user-facing glob() semantics. Git does this via an old copy of rsync's wildmatch(). As noted in a newly-published paper by Russ Cox it's common for glob() engines to be more vulnerable to pathological patterns than is common with regular expression engines: https://research.swtch.com/glob It would be nice to have a function in PCRE to convert glob patterns to PCRE regexes, e.g. Python implements a shimmy layer like this internally to implement glob(): https://github.com/python/cpython/blob/master/Lib/fnmatch.py#L74 -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev