Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tycho-4.0.x] tycho-versions-plugin: PomUtil.expandProperties(): Quote replacements #4454

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

eclipse-tycho-bot
Copy link

Backport

This will backport the following commits from main to tycho-4.0.x:

Questions ?

Please refer to the Backport tool documentation

The replacement strings passed to

  java.util.regex.Matcher.appendReplacement(StringBuilder, String)

are to be treated literally, no regex capture groups are to be
evaluated if the replacement string happens to contains '${...}'.

So they must be quoted using

  java.util.regex.Matcher.quoteReplacement(String)

(cherry picked from commit e9781e6)
@eclipse-tycho-bot eclipse-tycho-bot enabled auto-merge (rebase) November 27, 2024 12:58
@eclipse-tycho-bot eclipse-tycho-bot merged commit fcaf1c1 into tycho-4.0.x Nov 27, 2024
12 of 14 checks passed
@sratz sratz deleted the backport/tycho-4.0.x/pr-4453 branch November 27, 2024 16:01
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.

2 participants