Improve console variable expansion (fixes #1370) by paulk-asert · Pull Request #1371 · jline/jline3 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

gnodet

merged 1 commit into

Aug 6, 2025

Conversation

@paulk-asert

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.

@paulk-asert

gnodet

Choose a reason for hiding this comment

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

LGTM

@gnodet gnodet changed the titleprovide smarter arg expansion #1370 Improve console variable expansion (fixes #1370)

Aug 6, 2025

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels

2 participants

@paulk-asert @gnodet