./textproc/py-wcmatch, Wildcard/glob file name matcher

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 11.0.1, Package name: py313-wcmatch-11.0.1, Maintainer: pkgsrc-users

Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order
to provide file matching and globbing that more closely follows the features
found in Bash. In some ways these libraries are similar to Python's builtin
libraries as they provide a similar interface to match, filter, and glob the
file system. But they also include a number of features found in Bash's
globbing such as backslash escaping, brace expansion, extended glob pattern
groups, etc. They also add a number of new useful functions as well, such as
globmatch which functions like fnmatch, but for paths.


Required to run:
[textproc/py-bracex] [lang/python310]

Required to build:
[devel/py-hatchling]

Master sites:

Filesize: 141.271 KB

Version history: (Expand)


CVS history: (Expand)


   2026-08-17 11:54:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 11.0.1

11.0.1

- **DOCS**: Provide information in documentation that discloses information \ 
about what should or should not be
  expected from Wildcard Match in regards to security, and provide general \ 
information to allow users to make good
  decisions.
- **FIX**: Fix an issue where in some cases dot handling was not correct within \ 
an extended glob pattern when
  `EXTGLOB`/`EXTMATCH` was enabled.
   2026-07-13 13:49:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 11.0

11.0

- **NEW**: Reduce/combine nested `EXTGLOB`/`EXTMATCH` regular expression \ 
patterns when possible to reduce deeply
  nested patterns.
- **NEW**: Added ZSH style numerical ranges (`<0-9>`) via new `NUMRANGE` flag.
- **BREAK**: Previously, translation would have a capture group for every \ 
extended glob pattern when
  `EXTGLOB`/`EXTMATCH` was enabled. Due to the new feature added that reduces \ 
extended glob group nesting, groups no
  longer appear exactly as specified. Moving forward, capturing groups are not \ 
included by default. If you need the
  old behavior, it can be enabled in a `translate()` call via the `CAPTURE` \ 
flag. This flag will cause extended glob
  reduction to be turned off and for capturing groups to be enabled.
- **FIX**: Avoid reparsing sequences that have already been deemed not valid.
- **FIX**: Halt `EXTGLOB`/`EXTMATCH` parsing once an unclosed extended glob \ 
pattern is encountered.
- **FIX**: Fix case where an empty string would not match a pattern targeting an \ 
empty string.
- **FIX**: Ensure that consecutive stars are collapsed into a single regular \ 
expression pattern.
- **FIX**: Fix parsing `SPLIT` not accounting for POSIX character class.
   2026-07-03 09:25:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 10.2.1

10.2.1
- **FIX**: Properly update project requirements to ensure usage of `bracex` 3.0.
   2026-06-30 07:44:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 10.2

10.2

- **NEW**: Require `bracex` 3.0 for bug fixes.
- **NEW**: Drop support for Python 3.9 which is "end of life".
   2025-06-30 21:47:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 10.1

10.1

NEW: Drop support for Python 3.8 which is "end of life".
NEW: Add support for Python 3.14.
NEW: Add wcmatch.glob.compile(pattern) and wcmatch.fnmatch.compile(pattern) to \ 
allow for precompiled matcher
objects that can be reused.
   2024-10-10 15:24:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 10.0

10.0

NEW: Added GLOBSTARLONG which adds support for the Zsh style *** which acts like \ 
** with GLOBSTAR but
but traverses symlinks.
NEW: pathlib.match will respect symlink rules (when the REALPATH flag is given). \ 
Hidden file rules will
be respected at all times. Enable DOTALL to match hidden files.
NEW: Symlinks should not be traversed when GLOBSTAR is enabled unless FOLLOW is \ 
also enabled, but they
should still be matched. Prior to this change, symlinks were not traversed and \ 
they were ignored from matching
which contradicts how Bash works and could be confusing to users.
FIX: Fix some inconsistencies with globmatch and symlink handling when REALPATH \ 
is enabled.
   2024-08-20 10:38:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 9.0

9.0

- **NEW**: Remove deprecated function `glob.raw_escape`.
- **NEW**: Officially support Python 3.13.
   2024-05-15 17:09:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-wcmatch: updated to 8.5.2

8.5.2

- **FIX**: Fix `pathlib` issue with inheritance on Python versions greater than 3.12.
- **FIX**: Fix `EXTMATCH` case with `!(...)` patterns.