diff --git a/src/main/base/org/bdware/sc/node/Script.java b/src/main/base/org/bdware/sc/node/Script.java index 805349d..a0ced86 100644 --- a/src/main/base/org/bdware/sc/node/Script.java +++ b/src/main/base/org/bdware/sc/node/Script.java @@ -42,7 +42,7 @@ public class Script { plainText = plainText.replaceFirst("exported", ""); } if (isView) { - plainText = plainText.replaceFirst("\\)\\s?view\\s?\\{", "){"); + plainText = plainText.replaceFirst("\\)\\s*view\\s*\\{", "){"); } this.plainText = plainText; }