`?` matches forward slashes
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 595
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
To my surprise, foo?bar matches foo/bar. Minimal repro: https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=e47902dcb4aeee3ead794ff77b0cef04
This behavior doesn't match those of shells like bash or fish, as of my testing.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the linked Rust Playground minimal reproduction and compare the result with the documented shell-style matching behavior. Locate the wildcard matching entry point, add a regression test showing that ? does not match /, and run the repository test suite to confirm the corrected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 70/100