Skip to content

Commit

Permalink
Fix multiple constants in a single string (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablete1234 authored Sep 17, 2023
1 parent 6f2ef70 commit f4bc17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/tc/oc/pgm/map/MapFilePreprocessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class MapFilePreprocessor {
return builder;
});

private static final Pattern CONSTANT_PATTERN = Pattern.compile("\\$\\{(.+)}");
private static final Pattern CONSTANT_PATTERN = Pattern.compile("\\$\\{(.+?)}");

private final MapIncludeProcessor includeProcessor;
private final MapSource source;
Expand Down

0 comments on commit f4bc17f

Please sign in to comment.