- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 625 for Pattern (0.13 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Pattern; import org.codelibs.core.lang.StringUtil; public class RobotsTxt { private static final String ALL_BOTS = "*"; protected final Map<Pattern, Directive> directiveMap = new LinkedHashMap<>(); private final List<String> sitemapList = new ArrayList<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
return Collections.emptySet(); } final Set<String> valueSet = new HashSet<>(); for (final LabelTypePattern pattern : labelTypePatternList) { if (pattern.match(path)) { valueSet.add(pattern.getValue()); } } return valueSet; } protected void buildLabelTypePatternList(final List<LabelType> labelTypeList) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 11.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryCreator.java
import java.util.Date; import java.util.regex.Pattern; import org.codelibs.fess.Constants; import jakarta.annotation.Resource; public abstract class DictionaryCreator { protected Pattern pattern; @Resource protected DictionaryManager dictionaryManager; protected DictionaryCreator(final String pattern) { this.pattern = Pattern.compile(pattern); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
return StringUtil.EMPTY; } final Pattern pattern = Pattern.compile("^" + prefix + "([0-9]+):(.*)$"); final String[] values = input.split("\n"); final List<String> list = new ArrayList<>(values.length); int lineNum = 0; for (final String line : values) { final Matcher matcher = pattern.matcher(line); if (matcher.matches()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
protected static final Logger logger = LoggerFactory.getLogger(HtmlExtractor.class); protected Pattern metaCharsetPattern = Pattern.compile("<meta.*content\\s*=\\s*['\"].*;\\s*charset=([\\w\\d\\-_]*)['\"]\\s*/?>", Pattern.MULTILINE | Pattern.CASE_INSENSITIVE); protected Pattern htmlTagPattern = Pattern.compile("<[^>]+>"); protected Map<String, String> featureMap = new HashMap<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
final RegexRule regexRule = new RegexRule(); regexRule.defaultRule = true; regexRule.allRequired = true; regexRule.addRule("url", Pattern.compile("http:.*")); regexRule.addRule("mimeType", Pattern.compile("text/html")); assertTrue(regexRule.match(getTestData1())); assertTrue(regexRule.match(getTestData2())); assertTrue(regexRule.match(getTestData3()));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
* Returns a splitter that considers any subsequence matching {@code pattern} to be a separator. * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string * into lines whether it uses DOS-style or UNIX-style line terminators. * * @param separatorPattern the pattern that determines whether a subsequence is a separator. This * pattern may not match the empty string.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 21:14:05 UTC 2024 - 24.5K bytes - Viewed (0) -
pom.xml
<licenseFamilyName>GNU Lesser General Public License</licenseFamilyName> <notes /> <patterns> <pattern>This library is free software; you can redistribute it</pattern> <pattern>GNU Lesser General Public License</pattern> </patterns> </license> </licenses> <licenseFamilies>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Sep 26 04:40:32 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
import java.nio.file.attribute.BasicFileAttributes; import java.util.regex.Pattern; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class ComparableVersionIT { @Test void test() throws Exception { Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() { Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs.go
) const ( percent rune = '%' underscore rune = '_' runeZero rune = 0 ) func evalSQLLike(text, pattern string, escape rune) (match bool, err error) { s := []rune{} prev := runeZero hasLeadingPercent := false patLen := len([]rune(pattern)) for i, r := range pattern { if i > 0 && prev == escape { switch r { case percent, escape, underscore: s = append(s, r) prev = r
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0)