summaryrefslogtreecommitdiff
path: root/dice-lang/src/bjc/dicelang/DiceLangConsole.java
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-09-10 21:36:13 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-09-10 21:36:13 -0300
commitc8a6453a0a4284f58e2060d9fab06c8e55fecee7 (patch)
tree49c12c206c9584571d957014da61c31aff7c4176 /dice-lang/src/bjc/dicelang/DiceLangConsole.java
parent8cb5d59deffbb09bc9d588a704f80a4b0c98183b (diff)
Minor updates
Diffstat (limited to 'dice-lang/src/bjc/dicelang/DiceLangConsole.java')
-rw-r--r--dice-lang/src/bjc/dicelang/DiceLangConsole.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/dice-lang/src/bjc/dicelang/DiceLangConsole.java b/dice-lang/src/bjc/dicelang/DiceLangConsole.java
index bbf3db8..29b6f1a 100644
--- a/dice-lang/src/bjc/dicelang/DiceLangConsole.java
+++ b/dice-lang/src/bjc/dicelang/DiceLangConsole.java
@@ -205,14 +205,7 @@ public class DiceLangConsole {
}
/*
- * Matches slash-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 slashes
+ * Matches slash-delimited strings (like /text/ or /text\/text/).
*/
private final Pattern slashPattern = Pattern.compile("/((?:\\\\.|[^/\\\\])*)/");