Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for testregex (0.22 sec)

  1. src/regexp/testdata/testregex.c

    /*
     * regex(3) test harness
     *
     * build:	cc -o testregex testregex.c
     * help:	testregex --man
     * note:	REG_* features are detected by #ifdef; if REG_* are enums
     *		then supply #define REG_foo REG_foo for each enum REG_foo
     *
     *	Glenn Fowler <******@****.***>
     *	AT&T Research
     *
     * PLEASE: publish your tests so everyone can benefit
     *
     * The following license covers testregex.c and all associated test data.
     *
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  2. src/regexp/testdata/README

    AT&T POSIX Test Files
    See textregex.c for copyright + license.
    
    testregex.c	http://www2.research.att.com/~gsf/testregex/testregex.c
    basic.dat	http://www2.research.att.com/~gsf/testregex/basic.dat
    nullsubexpr.dat	http://www2.research.att.com/~gsf/testregex/nullsubexpr.dat
    repetition.dat	http://www2.research.att.com/~gsf/testregex/repetition.dat
    
    The test data has been edited to reflect RE2/Go differences:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 27 20:18:25 UTC 2015
    - 957 bytes
    - Viewed (0)
  3. src/regexp/exec_test.go

    			i = j + 1
    		}
    	}
    	return out
    }
    
    // TestFowler runs this package's regexp API against the
    // POSIX regular expression tests collected by Glenn Fowler
    // at http://www2.research.att.com/~astopen/testregex/testregex.html.
    func TestFowler(t *testing.T) {
    	files, err := filepath.Glob("testdata/*.dat")
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, file := range files {
    		t.Log(file)
    		testFowler(t, file)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            registerModifiedProperty("processType");
            this.processType = value;
        }
    
        public String getRegex() {
            checkSpecifiedProperty("regex");
            return convertEmptyToNull(regex);
        }
    
        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_regexps.txt

    go test -cpu=1 -run=X/Y -bench=X/Y -count=2 -v testregexp
    
    # Test the following:
    
    # TestX is run, twice
    stdout -count=2 '^=== RUN   TestX$'
    stdout -count=2 '^    x_test.go:6: LOG: X running$'
    
    # TestX/Y is run, twice
    stdout -count=2 '^=== RUN   TestX/Y$'
    stdout -count=2 '^    x_test.go:8: LOG: Y running$'
    
    # TestXX is run, twice
    stdout -count=2 '^=== RUN   TestXX$'
    stdout -count=2 '^    z_test.go:10: LOG: XX running'
    
    # TestZ is not run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/PathMappingDbm.java

                    "processType");
            setupEpg(_epgMap, et -> ((PathMapping) et).getRegex(), (et, vl) -> ((PathMapping) et).setRegex(DfTypeUtil.toString(vl)), "regex");
            setupEpg(_epgMap, et -> ((PathMapping) et).getReplacement(), (et, vl) -> ((PathMapping) et).setReplacement(DfTypeUtil.toString(vl)),
                    "replacement");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy

        }
    
        def testHoursZeroMinutes() {
            when:
            setTime(1, 0, 32, 0)
    
            then:
            timer.getElapsed() == "1 hrs 0 mins 32.0 secs"
        }
    
        def testReset() throws Exception {
            when:
            setTime(100)
            timer.reset()
            setTime(200)
    
            then:
            timer.elapsedMillis == 100
        }
    
        def testElapsed() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                });
                if (logger.isDebugEnabled()) {
                    cachedPathMappingList.forEach(e -> {
                        logger.debug("path mapping: {}: {} -> {}", e.getId(), e.getRegex(), e.getReplacement());
                    });
                }
                return cachedPathMappingList.size();
            } catch (final ComponentNotFoundException e) {
                if (logger.isDebugEnabled()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

            asDocMeta().version(version);
        }
    
        public String process(final PathMappingHelper pathMappingHelper, final String input) {
            if (regexPattern == null) {
                regexPattern = Pattern.compile(getRegex());
            }
            final Matcher matcher = regexPattern.matcher(input);
            if (matcher.find()) {
                if (pathMapperFunc == null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top