Skip to content

Add support for %q format verb in sprintf (#175)#178

Merged
andreaTP merged 1 commit into
StyraOSS:mainfrom
andreaTP:issue-175
May 14, 2026
Merged

Add support for %q format verb in sprintf (#175)#178
andreaTP merged 1 commit into
StyraOSS:mainfrom
andreaTP:issue-175

Conversation

@andreaTP
Copy link
Copy Markdown
Collaborator

Java's String.format doesn't support %q, so replace it with "%s" to match Go/Rego semantics of wrapping the argument in double quotes.

Fixes #175

Java's String.format doesn't support %q, so replace it with "%s" to
match Go/Rego semantics of wrapping the argument in double quotes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andreaTP andreaTP merged commit ba1cb6c into StyraOSS:main May 14, 2026
5 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.

%q format specifier not supported in sprintf funtion

1 participant