Skip to content

fix(parser): allow glob expansion on unquoted suffix after quoted prefix#484

Merged
chaliy merged 1 commit intomainfrom
claude/fix-398-Y2nIj
Mar 2, 2026
Merged

fix(parser): allow glob expansion on unquoted suffix after quoted prefix#484
chaliy merged 1 commit intomainfrom
claude/fix-398-Y2nIj

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Mar 2, 2026

Summary

  • Fixed "$DIR"/* pattern where glob expansion was skipped because the word was marked as QuotedWord
  • After closing double-quote, check for adjacent unquoted content and concatenate into a Word token (not QuotedWord) so glob/brace expansion applies to the unquoted portion

Closes #398

Test plan

  • test_glob_with_quoted_prefix
  • All existing tests pass

After a double-quoted string, check for adjacent unquoted content
(e.g. "$DIR"/*) and concatenate into a single Word token instead of
QuotedWord. This allows glob/brace expansion on the unquoted portion.

Closes #398

https://claude.ai/code/session_01WZjYqxm5xMPAEe7FSHJkDy
@chaliy chaliy force-pushed the claude/fix-398-Y2nIj branch from 44c93c5 to 2d6b4cb Compare March 2, 2026 20:18
@chaliy chaliy merged commit b762340 into main Mar 2, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(parser): glob expansion skipped for partially-quoted words

2 participants