This commit is contained in:
13
README.md
13
README.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user