From c8a6453a0a4284f58e2060d9fab06c8e55fecee7 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Sun, 10 Sep 2017 21:36:13 -0300 Subject: Minor updates --- dice-lang/src/bjc/dicelang/DiceLangConsole.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'dice-lang/src/bjc/dicelang/DiceLangConsole.java') 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("/((?:\\\\.|[^/\\\\])*)/"); -- cgit v1.2.3