mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 13:49:18 +01:00
change tweak comment matcher (fixes #3742)
This commit is contained in:
@@ -627,9 +627,13 @@ public class SketchParser {
|
||||
|
||||
|
||||
static private boolean hasTweakComment(String code) {
|
||||
// https://github.com/processing/processing/issues/3742
|
||||
return code.contains("/// tweak");
|
||||
/*
|
||||
Pattern p = Pattern.compile("\\/\\/.*tweak", Pattern.CASE_INSENSITIVE);
|
||||
Matcher m = p.matcher(code);
|
||||
return m.find();
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user