For this line:
|
"Regex group is used in template multiple times: %s", |
This makes it seem like copybara cannot handle repeated use of regex group. But it can, the user just needs to configure repeated_groups = True in core.replace.
Can we clarify the error message to suggest this?
If needed, I can make a quick PR.
For this line:
copybara/java/com/google/copybara/transform/RegexTemplateTokens.java
Line 266 in c12c048
This makes it seem like copybara cannot handle repeated use of regex group. But it can, the user just needs to configure
repeated_groups = Trueincore.replace.Can we clarify the error message to suggest this?
If needed, I can make a quick PR.