From 72e8de605598f62efbd63c17897e80cec181ff2b Mon Sep 17 00:00:00 2001 From: EVE Date: Wed, 15 Mar 2017 19:06:48 -0400 Subject: Remove old splitter code, and swap naming to match. --- .../java/bjc/utils/funcutils/NeoTokenSplitter.java | 157 --------------------- 1 file changed, 157 deletions(-) delete mode 100644 BJC-Utils2/src/main/java/bjc/utils/funcutils/NeoTokenSplitter.java (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcutils/NeoTokenSplitter.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcutils/NeoTokenSplitter.java b/BJC-Utils2/src/main/java/bjc/utils/funcutils/NeoTokenSplitter.java deleted file mode 100644 index 9da457e..0000000 --- a/BJC-Utils2/src/main/java/bjc/utils/funcutils/NeoTokenSplitter.java +++ /dev/null @@ -1,157 +0,0 @@ -package bjc.utils.funcutils; - -import java.util.regex.Pattern; - -/** - * Split a string and keep given delimiters. - * - * @author Ben Culkin - */ -public class NeoTokenSplitter { - /* - * This string is a format template for the delimiter matching regex - * - * It does two things: - * - *
    - *
  1. Match to the left of the provided delimiter by positive lookahead
  2. - *
  3. Match to the right of the provided delimiter by positive lookbehind
  4. - *
- * - * Thus, it will only match in places where the delimiter is, but won't - * actually match the delimiter, leaving split to put it into the stream - */ - private static String WITH_DELIM = "((?<=%1$s)|(?=%1$s))"; - - /* - * This string is a format template for the multi-delimiter matching - * regex. - * - * It does the same thing as the single delimiter regex, but has to have - * some negative lookahead/lookbehind assertions to avoid splitting a - * delimiter into pieces. - */ - private static String WITH_MULTI_DELIM = "((?<=%1$s+)(?!%1$s)|(?