Skip to content

Improve console variable expansion (fixes #1370) - #1371

Merged
gnodet merged 1 commit into
jline:masterfrom
paulk-asert:arg_parsing
Aug 6, 2025
Merged

gnodet merged 1 commit into
jline:masterfrom
paulk-asert:arg_parsing

Conversation

@paulk-asert

Copy link
Copy Markdown
Contributor

This handles the common GString idiom of expressions like ${name.toUpperCase()} instead of just ${name}.toUpperCase() but doesn't attempt to do full parsing and handle mixed style, e.g. ${name.toUpperCase()}.toLowerCase(). Existing expressions are left unchanged, i.e. still supported.

@gnodet gnodet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gnodet gnodet added this to the 3.30.5 milestone Aug 6, 2025
@gnodet gnodet changed the title provide smarter arg expansion #1370 Improve console variable expansion (fixes #1370) Aug 6, 2025
@gnodet
gnodet merged commit 0ee349c into jline:master Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants