MergeYaml
can not parse valid yaml
#4794
Labels
bug
Something isn't working
recipe
Requested Recipe
test provided
Already replicated with a unit test, using JUnit pioneer's ExpectedToFail
When using
MergeYaml
with@:@
in the value open rewrite cannot parse the yaml, even though it is valid,it appears this is because of changes introduced in 8b705c3
specifically this regex:
rewrite/rewrite-yaml/src/main/java/org/openrewrite/yaml/YamlParser.java
Line 55 in 5f2d11c
which causes UUID replacements
Here's a test to reproduce:
results in:
The text was updated successfully, but these errors were encountered: