Skip to content

Conversation

@duszmox
Copy link

@duszmox duszmox commented Oct 16, 2025

Summary

  • allow escaped / characters in s/// specs by tightening the matcher and unescaping capture groups before building ReplaceValueSetter
  • ensure ReplaceValueSetter handles both AgencyAndId values and plain fields correctly when underscores remain
  • add regression tests covering escaped replacements for trip IDs and route URLs

@CLAassistant
Copy link

CLAassistant commented Oct 16, 2025

CLA assistant check
All committers have signed the CLA.

}
}

private String unescapeReplaceExpression(String value) {
Copy link
Collaborator

@leonardehrenfried leonardehrenfried Oct 31, 2025

Choose a reason for hiding this comment

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

Can you make this static, package private and add a parameterised test with all the expected inputs and outputs?

@leonardehrenfried leonardehrenfried changed the title Fix transformer regex escaping for replacements and add tests Fix transformer regex escaping for replacements Nov 1, 2025
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.

3 participants