diff options
Diffstat (limited to 'dice-lang/src/bjc/dicelang/DiceLangConsole.java')
| -rw-r--r-- | dice-lang/src/bjc/dicelang/DiceLangConsole.java | 9 |
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("/((?:\\\\.|[^/\\\\])*)/"); |
