/** * Set the strategy to use for compiling a pattern from * rawtext. * * NOTE: This is imcomplete (in fact it wasn't implemented at * all) - only recognizes REGEX_ANCHORED, every other value * results in REGEX_MATCH_RULES. * * @param mode the String key of the match strategy to use. */ public void setRegexCreatorKey(String mode) { if (getRegexCreatorKey().equals(mode)) return; String old = getRegexCreatorKey(); regexCreatorKey = mode; createRegexCreator(getRegexCreatorKey()); firePropertyChange("regexCreatorKey", old, getRegexCreatorKey()); }
/** * Set the strategy to use for compiling a pattern from * rawtext. * * NOTE: This is imcomplete (in fact it wasn't implemented at * all) - only recognizes REGEX_ANCHORED, every other value * results in REGEX_MATCH_RULES. * * @param mode the String key of the match strategy to use. */ public void setRegexCreatorKey(String mode) { if (getRegexCreatorKey().equals(mode)) return; String old = getRegexCreatorKey(); regexCreatorKey = mode; createRegexCreator(getRegexCreatorKey()); firePropertyChange("regexCreatorKey", old, getRegexCreatorKey()); }
/** * Set the strategy to use for compiling a pattern from * rawtext. * * NOTE: This is imcomplete (in fact it wasn't implemented at * all) - only recognizes REGEX_ANCHORED, every other value * results in REGEX_MATCH_RULES. * * @param mode the String key of the match strategy to use. */ public void setRegexCreatorKey(String mode) { if (getRegexCreatorKey().equals(mode)) return; String old = getRegexCreatorKey(); regexCreatorKey = mode; createRegexCreator(getRegexCreatorKey()); firePropertyChange("regexCreatorKey", old, getRegexCreatorKey()); }
/** * Set the strategy to use for compiling a pattern from * rawtext. * * NOTE: This is imcomplete (in fact it wasn't implemented at * all) - only recognizes REGEX_ANCHORED, every other value * results in REGEX_MATCH_RULES. * * @param mode the String key of the match strategy to use. */ public void setRegexCreatorKey(String mode) { if (getRegexCreatorKey().equals(mode)) return; String old = getRegexCreatorKey(); regexCreatorKey = mode; createRegexCreator(getRegexCreatorKey()); firePropertyChange("regexCreatorKey", old, getRegexCreatorKey()); }
/** * Set the strategy to use for compiling a pattern from * rawtext. * * NOTE: This is imcomplete (in fact it wasn't implemented at * all) - only recognizes REGEX_ANCHORED, every other value * results in REGEX_MATCH_RULES. * * @param mode the String key of the match strategy to use. */ public void setRegexCreatorKey(String mode) { if (getRegexCreatorKey().equals(mode)) return; String old = getRegexCreatorKey(); regexCreatorKey = mode; createRegexCreator(getRegexCreatorKey()); firePropertyChange("regexCreatorKey", old, getRegexCreatorKey()); }