Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Butcher (0.1 sec)

  1. JvmUtil.java

    getJavaVersion(); L31: return Arrays.stream(values).map(s -> { L32: final Matcher matcher = VERSION_PREFIX_PATTERN.matcher(s); L33: if (!matcher.matches()) { L34: return s; L35: } L36: final int v = Integer.parseInt(matcher.group(1)); L37: if ("-".equals(matcher.group(2))) { L38: if (version >= v) { L39: return matcher.group(3); L40: } L41: } else if (v == version) { L42: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      2.1K bytes
  2. KuromojiCSVUtil.java

    String[result.size()]); L93: } L94: L95: private static String unQuoteUnEscape(final String original) { L96: String result = original; L97: L98: // Unquote L99: if (result.indexOf('\"') >= 0) { L100: final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original); L101: if (m.matches()) { L102: result = m.group(1); L103: } L104: L105: // Unescape L106: if (result.indexOf(ESCAPED_QUOTE) >= 0) { L107: result...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.9K bytes
  3. PrunedTag.java

    [^\\]]+\\])?(\\.[\\w\\-]+)?(#[\\w\\-]+)?"); L113: final Matcher matcher = pattern.matcher(v.trim()); L114: if (matcher.matches()) { L115: final PrunedTag tag = new PrunedTag(matcher.group(1)); L116: if (matcher.group(2) != null) { L117: final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1); L118: final Matcher equalMatcher = Pattern.compile("([\\w\\-]+)=(\\S+)").matcher(attrPair);...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      4.8K bytes
  4. ViewHelper.java

    rn)) { L238: return null; L239: } L240: final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value); L241: final StringBuffer buf = new StringBuffer(value.length() + 100); L242: while (matcher.find()) { L243: matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost)); L244: } L245: matcher.appendTail(buf);...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:20:39 UTC 2024
      40.2K bytes
  5. PathMapping.java

    regexPattern = Pattern.compile(getRegex()); L62: } L63: final Matcher matcher = regexPattern.matcher(input); L64: if (matcher.find()) { L65: if (pathMapperFunc == null) { L66: final String replacement = StringUtil.isNotBlank(getReplacement()) ? getReplacement() : StringUtil.EMPTY; L67: pathMapperFunc = pathMappingHelper.createPathMatcher(matcher, replacement); L68: } L69: try { L70: return p...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      3.3K bytes
  6. StemmerOverrideFile.java

    (replacedLine.length() == 0) { L143: if (updater != null) { L144: updater.write(line); L145: } L146: continue; L147: } L148: L149: final Matcher m = parsePattern.matcher(replacedLine); L150: L151: if (!m.find()) { L152: logger.warn("Failed to parse {} in {}", line, path); L153: if (updater != null) { L154: updater.write("# " +...
    github.com/codelibs/fess/src/main/java/org/code...
    Fri Oct 11 21:11:58 UTC 2024
      10.6K bytes
  7. ResourceUtil.java

    final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})"); L207: final Matcher matcher = pattern.matcher(value); L208: while (matcher.find()) { L209: final String key = matcher.group(2); L210: String replacement = System.getProperty(key); L211: if (replacement == null) { L212: replacement = matcher.group(1); L213: } L214: matcher.appendReplacement(tunedText, replacement.replace("\\", "\\\\").replace("$", "\\$"));...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Oct 24 08:52:32 UTC 2024
      7.5K bytes
  8. FessFunctions.java

    ; L393: int lineNum = 0; L394: for (final String line : values) { L395: final Matcher matcher = pattern.matcher(line); L396: if (matcher.matches()) { L397: if (lineNum == 0) { L398: lineNum = Integer.parseInt(matcher.group(1)); L399: list.clear(); L400: } L401: list.add(matcher.group(2)); L402: } else { L403: list.add(line); L404: } L405: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      16.9K bytes
  9. PathMappingHelper.java

    (cachedPathMappingList == null) { L153: init(); L154: } L155: } L156: } L157: return replaceUrl(cachedPathMappingList, url); L158: } L159: L160: public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping L161: if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) { L162: return (u, m) -> DocumentUtil.encodeUrl(u); L163: } L164: if (!replacement....
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.6K bytes
  10. FileConfig.java

    return Constants.TRUE; L70: } L71: L72: for (final Pattern pattern : includedDocPathPatterns) { L73: if (pattern.matcher(input).matches()) { L74: return Constants.TRUE; L75: } L76: } L77: L78: for (final Pattern pattern : excludedDocPathPatterns) { L79: if (pattern.matcher(input).matches()) { L80: return Constants.FALSE; L81: } L82: } L83: L84: return Constants.TRUE; L85: L86:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:37:57 UTC 2024
      9.8K bytes
Back to top