Improve console variable expansion (fixes #1370) by paulk-asert · Pull Request #1371 · jline/jline3 (original) (raw)
Navigation Menu
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Merged
merged 1 commit into
Aug 6, 2025
Conversation
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
gnodet changed the title
provide smarter arg expansion #1370 Improve console variable expansion (fixes #1370)
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 }})