Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
cpburnz
/
python-pathspec
Public
Notifications
You must be signed in to change notification settings
Fork
61
Star
234
Code
Issues
9
Pull requests
4
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 12, 2026
Change CI workflow
cpburnz
committed
f0fb3f4
View commit details
Copy full SHA for f0fb3f4
Browse repository at this point
Change CI workflow
cpburnz
committed
cc90b35
View commit details
Copy full SHA for cc90b35
Browse repository at this point
Change CI workflow
cpburnz
committed
97760c2
View commit details
Copy full SHA for 97760c2
Browse repository at this point
Change CI workflow
cpburnz
committed
52dbc7d
View commit details
Copy full SHA for 52dbc7d
Browse repository at this point
Commits on Sep 10, 2026
Improve issue 137 tests
cpburnz
committed
f9a833e
View commit details
Copy full SHA for f9a833e
Browse repository at this point
Merge pull request #138 from jackwalkerlabs/fix/trailing-globstar-directory
Show description for 06bb47c
cpburnz
authored
06bb47c
View commit details
Copy full SHA for 06bb47c
Browse repository at this point
Update test_06_gitignore.py
cpburnz
authored
760ee4c
View commit details
Copy full SHA for 760ee4c
Browse repository at this point
Merge branch 'master' into fix/trailing-globstar-directory
cpburnz
authored
8da7b1a
View commit details
Copy full SHA for 8da7b1a
Browse repository at this point
Update credits
cpburnz
committed
7d9fd76
View commit details
Copy full SHA for 7d9fd76
Browse repository at this point
Merge pull request #140 from ryanchou1994/fix/publish-metadata-25
Show description for bb4465f
cpburnz
authored
bb4465f
View commit details
Copy full SHA for bb4465f
Browse repository at this point
Simplify newline matching globs
cpburnz
committed
6611165
View commit details
Copy full SHA for 6611165
Browse repository at this point
Update CHANGES
cpburnz
committed
82d4fbb
View commit details
Copy full SHA for 82d4fbb
Browse repository at this point
Merge pull request #139 from jackwalkerlabs/fix/newline-globstar-paths
Show description for 547a38e
cpburnz
authored
547a38e
View commit details
Copy full SHA for 547a38e
Browse repository at this point
Commits on Sep 9, 2026
ci: update publisher for metadata 2.5 support
ryanchou1994
committed
6b31743
View commit details
Copy full SHA for 6b31743
Browse repository at this point
Commits on Sep 8, 2026
Match newlines in gitignore globstar path segments
jackwalkerlabs
committed
dacd8f9
View commit details
Copy full SHA for dacd8f9
Browse repository at this point
Keep trailing globstars from matching their parent directory
jackwalkerlabs
committed
5e0786e
View commit details
Copy full SHA for 5e0786e
Browse repository at this point
Commits on Sep 5, 2026
Update README
cpburnz
committed
5f14318
View commit details
Copy full SHA for 5f14318
Browse repository at this point
Confirm 134 is fixed
cpburnz
committed
390b2c8
View commit details
Copy full SHA for 390b2c8
Browse repository at this point
Add more tests for 129/132
cpburnz
committed
9b550ec
View commit details
Copy full SHA for 9b550ec
Browse repository at this point
Update CHANGES
cpburnz
committed
22092b8
View commit details
Copy full SHA for 22092b8
Browse repository at this point
Merge pull request #132 from youdie006/fix/129-reinclude-under-excluded-dir
Show description for f404ca4
cpburnz
authored
f404ca4
View commit details
Copy full SHA for f404ca4
Browse repository at this point
Commits on Sep 3, 2026
Resolve the ancestor directory and the file separately in GitIgnoreSpec
Show description for 07ce100
youdie006
committed
07ce100
View commit details
Copy full SHA for 07ce100
Browse repository at this point
Commits on Sep 1, 2026
Misc for pull 135
cpburnz
committed
93e0179
View commit details
Copy full SHA for 93e0179
Browse repository at this point
Merge pull request #135 from ckarnell/fix/escape-trailing-space
Show description for e7e0830
cpburnz
authored
e7e0830
View commit details
Copy full SHA for e7e0830
Browse repository at this point
Commits on Aug 31, 2026
Escape trailing spaces in GitIgnoreSpecPattern.escape()
Show description for 72d1a28
ckarnell
committed
72d1a28
View commit details
Copy full SHA for 72d1a28
Browse repository at this point
Commits on Aug 27, 2026
Misc for pull 133
cpburnz
committed
4c7fdd1
View commit details
Copy full SHA for 4c7fdd1
Browse repository at this point
Merge pull request #133 from KaizenShogun/dir-mark-in-match-all
Show description for ef07c42
cpburnz
authored
ef07c42
View commit details
Copy full SHA for ef07c42
Browse repository at this point
Misc
cpburnz
committed
9889f1b
View commit details
Copy full SHA for 9889f1b
Browse repository at this point
Commits on Aug 26, 2026
Fix licensing dates
cpburnz
committed
2fd89b4
View commit details
Copy full SHA for 2fd89b4
Browse repository at this point
Merge pull request #128 from gaoflow/fix-posix-bracket-character-classes
Show description for c2c2331
cpburnz
authored
c2c2331
View commit details
Copy full SHA for c2c2331
Browse repository at this point
Work on issue 126
cpburnz
committed
df3de45
View commit details
Copy full SHA for df3de45
Browse repository at this point
Commits on Aug 19, 2026
Capture the directory marker in the `*`/`**` regex shortcut so `!*/` can re-include directories (tests/test_06_gitignore.py)
KaizenShogun
committed
ac8412b
View commit details
Copy full SHA for ac8412b
Browse repository at this point
Capture the directory marker in the `*`/`**` regex shortcut so `!*/` can re-include directories (tests/test_04_gitignore_spec.py)
KaizenShogun
committed
d7f7f4e
View commit details
Copy full SHA for d7f7f4e
Browse repository at this point
Capture the directory marker in the `*`/`**` regex shortcut so `!*/` can re-include directories (pathspec/patterns/gitignore/spec.py)
KaizenShogun
committed
650cd23
View commit details
Copy full SHA for 650cd23
Browse repository at this point
Commits on Jul 28, 2026
Add changelog entry for POSIX character class support (#128)
binggao1230
committed
9dfabdf
View commit details
Copy full SHA for 9dfabdf
Browse repository at this point
Previous
Next
You can’t perform that action at this time.