Skip to content

Commit 379e5ad

Browse files
author
jantje
committed
#1274 cpp project creation fails because of replaceall regression
86d89b7 introduced this regression
1 parent 9adecc4 commit 379e5ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

io.sloeber.core/src/io/sloeber/core/api/CodeDescription.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Map<String, IPath> createFiles(IProject project, IProgressMonitor monitor) throw
148148

149149
save();
150150
Map<String, String> replacers=new TreeMap<>();
151-
replacers.put("\\{Include\\}", "Arduino.h");
152-
replacers.put("\\{title\\}",project.getName());
151+
replacers.put("{Include}", "Arduino.h");
152+
replacers.put("{title}", project.getName());
153153
if(myReplacers!=null) {
154154
replacers.putAll(myReplacers);
155155
}

0 commit comments

Comments
 (0)