run tests in CI
Some checks failed
Run tests / build (push) Failing after 2s

This commit is contained in:
2026-04-14 02:57:20 +02:00
parent 4d115e3de4
commit ed2af16329
4 changed files with 27 additions and 38 deletions

View File

@@ -1,6 +1,8 @@
# kpmatch - Path patterns
# kpmatch
## Features and limitations
A path matching library.
## Features
* **Bash-style pathname patterns**
* **Curly braces syntax:** `a{/b/c,bc}` expands into `a/b/c` and `abc`
@@ -8,12 +10,17 @@
a path against the more specific patterns first
* **Pure paths:** This library does not access the filesystem. It does
not check if a path exists and does not differentiate between files
and directories.
and directories. If you need to search files, use Python's built-in
glob module or a library like [wcmatch](https://github.com/facelessuser/wcmatch).
* Ranges `[0-9]`, character classes `[:space:]` are
not supported.
* The extended operators `?(...)`, `*(...)`, `+(...)`, `@(...)`
and `!(...)` are not supported.
## Features
## Pattern Syntax
Braced sections `{ , }` are expanded.