better newline handling
This commit is contained in:
1 parent
b1df45a53b
commit
8d61c6a969
1 file changed
+3
-1
@@ -2587,7 +2587,9 @@ public class Expression implements Cloneable
|
||||
*/
|
||||
public Expression(String expression)
|
||||
{
|
||||
this.expression = expression.trim().replaceAll(";+$", "");
|
||||
this.expression = expression.trim().
|
||||
replaceAll("\\r\\n?", "\n").
|
||||
replaceAll(";+$", "");
|
||||
//this.expression = expression.replaceAll("\\$", "\n").trim();
|
||||
VariablesAndConstants();
|
||||
UserDefinedFunctionsAndControlFlow();
|
||||
|
||||
Reference in new issue
Block a user