Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for pattern (0.18 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        }
    
        protected LoadingCache<String, List<Pattern>> createFilterCache(final String type) {
            return CacheBuilder.newBuilder()//
                    .expireAfterWrite(filterCacheExpireAfterWrite, TimeUnit.SECONDS)//
                    .build(new CacheLoader<String, List<Pattern>>() {
    
                        @Override
                        public List<Pattern> load(final String key) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
            boolean result = false;
            String originalId = originalRepository.getId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

    @Singleton
    @Deprecated(since = "4.0.0")
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
        private static final Pattern FILTER_2 = Pattern.compile("[._-]");
        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

                """
            ),
        ] = None,
        pattern: Annotated[
            Optional[str],
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
        ] = None,
        regex: Annotated[
            Optional[str],
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
            deprecated(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                // NOP
            }
            return encoding;
        }
    
        protected String parseCharset(final String content) {
            final Pattern pattern = Pattern.compile("; *charset *= *([a-zA-Z0-9\\-_]+)", Pattern.CASE_INSENSITIVE);
            final Matcher matcher = pattern.matcher(content);
            if (matcher.find()) {
                return matcher.group(1);
            }
            return null;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. 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)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsValidator implements SettingsValidator {
    
        private static final String ID = "[\\w.-]+";
        private static final Pattern ID_REGEX = Pattern.compile(ID);
    
        private final SettingsBuilder settingsBuilder;
    
        @Inject
        public DefaultSettingsValidator(SettingsBuilder settingsBuilder) {
            this.settingsBuilder = settingsBuilder;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (value == null) {
                return null;
            }
    
            final StringBuffer tunedText = new StringBuffer(value.length());
            final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})");
            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
                final String key = matcher.group(2);
                String replacement = System.getProperty(key);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

    import java.util.ArrayList;
    import java.util.List;
    import java.util.regex.Pattern;
    
    /**
     * Helper class to format multiline messages to the console
     */
    public class MultilineMessageHelper {
    
        private static final int DEFAULT_MAX_SIZE = 65;
        private static final char BOX_CHAR = '*';
    
        private static final Pattern S_FILTER = Pattern.compile("\\s+");
    
        public static String separatorLine() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        @Deprecated(since = "4.0.0")
        String RELEASE_VERSION = "RELEASE";
    
        @Deprecated(since = "4.0.0")
        String LATEST_VERSION = "LATEST";
    
        String SNAPSHOT_VERSION = "SNAPSHOT";
    
        Pattern VERSION_FILE_PATTERN = Pattern.compile("^(.*)-(\\d{8}\\.\\d{6})-(\\d+)$");
    
        // TODO into artifactScope handler
    
        String SCOPE_COMPILE = "compile";
    
        String SCOPE_COMPILE_PLUS_RUNTIME = "compile+runtime";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top