Skip to content

feat: use wcmatch.glob for glob_match with "**" support#402

Merged
hsluoyz merged 1 commit intoapache:masterfrom
Chimou0:fix/globmatch
Oct 4, 2025
Merged

feat: use wcmatch.glob for glob_match with "**" support#402
hsluoyz merged 1 commit intoapache:masterfrom
Chimou0:fix/globmatch

Conversation

@Chimou0
Copy link
Copy Markdown
Contributor

@Chimou0 Chimou0 commented Oct 4, 2025

Fix: #403

feat: add double star wildcard support to glob_match. #403

The glob_match function of pycasbin does not support the use of double star(**) wildcards. This branch resolves this issue and add some test functions concerning doublestar pattern which align with gocasbin.

@hsluoyz hsluoyz changed the title feat: add double star wildcard support to glob_match feat: use wcmatch.glob for glob_match with "**" support Oct 4, 2025
@hsluoyz hsluoyz merged commit 0ff7cd8 into apache:master Oct 4, 2025
17 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 4, 2025
# [2.3.0](v2.2.0...v2.3.0) (2025-10-04)

### Features

* use wcmatch.glob for glob_match with "**" support ([#402](#402)) ([0ff7cd8](0ff7cd8))
@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 4, 2025

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]Node.js and Python Casbin Do Not Behave The Same with Glob Matching **

2 participants