summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/dicelang/DiceLangEngine.java
diff options
context:
space:
mode:
Diffstat (limited to 'dice-lang/src/bjc/dicelang/DiceLangEngine.java')
-rw-r--r--dice-lang/src/bjc/dicelang/DiceLangEngine.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/dice-lang/src/bjc/dicelang/DiceLangEngine.java b/dice-lang/src/bjc/dicelang/DiceLangEngine.java
index c34ecac..7648568 100644
--- a/dice-lang/src/bjc/dicelang/DiceLangEngine.java
+++ b/dice-lang/src/bjc/dicelang/DiceLangEngine.java
@@ -130,7 +130,6 @@ public class DiceLangEngine {
opExpander.addDelimiter("-");
opExpander.addDelimiter("*");
opExpander.addDelimiter("/");
- opExpander.addDelimiter("+");
opExpander.compile();
nextLiteral = 1;
@@ -232,21 +231,7 @@ public class DiceLangEngine {
}
/*
- * Matches quote-delimited strings
- * (like "text" or "text\"text")
- * Uses the "normal* (special normal*)*" pattern style
- * recommended in 'Mastering regular expressions'
- * Here, the normal is 'anything but a forward or backslash'
- * (in regex, thats '[^\""]') and the special is 'an escaped forward slash'
- * (in regex, thats '\\"')
- *
- * Then, we just follow the pattern, escape it for java strings, and
- * add the enclosing quotes
- */
- private Pattern quotePattern = Pattern.compile("\"([^\\\"]*(?:\\\"(?:[^\\\"])*)*)\"");
-
- /*
- * Similiar to the above, but using angle brackets instead of quotes
+ * Matches double-angle bracketed strings.
*/
private Pattern nonExpandPattern = Pattern.compile("<<([^\\>]*(?:\\>(?:[^\\>])*)*)>>");