Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 206 for regexec (0.28 sec)

  1. src/index/suffixarray/suffixarray.go

    // or if n == 0.
    func (x *Index) FindAllIndex(r *regexp.Regexp, n int) (result [][]int) {
    	// a non-empty literal prefix is used to determine possible
    	// match start indices with Lookup
    	prefix, complete := r.LiteralPrefix()
    	lit := []byte(prefix)
    
    	// worst-case scenario: no literal prefix
    	if prefix == "" {
    		return r.FindAllIndex(x.data, n)
    	}
    
    	// if regexp is a literal just use Lookup and convert its
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exentity;
    
    import java.util.function.BiFunction;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.es.config.bsentity.BsPathMapping;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/resourceconfig/helpers.go

    const (
    	APIAll   = "api/all"
    	APIGA    = "api/ga"
    	APIBeta  = "api/beta"
    	APIAlpha = "api/alpha"
    )
    
    var (
    	gaPattern    = regexp.MustCompile(`^v\d+$`)
    	betaPattern  = regexp.MustCompile(`^v\d+beta\d+$`)
    	alphaPattern = regexp.MustCompile(`^v\d+alpha\d+$`)
    
    	groupVersionMatchers = map[string]func(gv schema.GroupVersion) bool{
    		// allows users to address all api versions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. pkg/kubelet/util/store/store.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package store
    
    import (
    	"fmt"
    	"regexp"
    )
    
    const (
    	keyMaxLength = 250
    
    	keyCharFmt      string = "[A-Za-z0-9]"
    	keyExtCharFmt   string = "[-A-Za-z0-9_.]"
    	qualifiedKeyFmt string = "(" + keyCharFmt + keyExtCharFmt + "*)?" + keyCharFmt
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 22:18:30 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule.impl;
    
    import java.util.HashMap;
    import java.util.Map;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.beans.util.CopyOptions;
    import org.codelibs.fess.crawler.entity.ResponseData;
    
    /**
     * @author shinsuke
     *
     */
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. istioctl/cmd/options_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cmd
    
    import (
    	"bytes"
    	"regexp"
    	"testing"
    )
    
    // nolint: lll
    var expectedOutput = `The following options can be passed to any command:
          --log_as_json: Whether to format output as JSON or in plain console-friendly format
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 14 02:38:54 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. src/testing/match_test.go

    	alt := func(m ...filterMatch) filterMatch { return alternationMatch(m) }
    	testCases := []struct {
    		pattern string
    		result  filterMatch
    	}{
    		// Correct patterns
    		// If a regexp pattern is correct, all split regexps need to be correct
    		// as well.
    		{"", res("")},
    		{"/", res("", "")},
    		{"//", res("", "", "")},
    		{"A", res("A")},
    		{"A/B", res("A", "B")},
    		{"A/B/", res("A", "B", "")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  8. src/testing/helper_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package testing_test
    
    import (
    	"internal/testenv"
    	"os"
    	"regexp"
    	"strings"
    	"testing"
    )
    
    func TestTBHelper(t *testing.T) {
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		testTestHelper(t)
    
    		// Check that calling Helper from inside a top-level test function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:24:47 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. internal/handlers/proxy.go

    	// comma, semi-colon or space. The match is case-insensitive.
    	forRegex = regexp.MustCompile(`(?i)(?:for=)([^(;|,| )]+)(.*)`)
    	// Allows for a sub-match for the first instance of scheme (http|https)
    	// prefixed by 'proto='. The match is case-insensitive.
    	protoRegex = regexp.MustCompile(`(?i)^(;|,| )+(?:proto=)(https|http)`)
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb_unix_test.go

    	// 3. A frame before the signal handler: this could be foo, or somewhere in the scheduler
    
    	re := regexp.MustCompile(`#.* runtime\.sigtramp `)
    	if found := re.Find(got) != nil; !found {
    		t.Fatalf("could not find sigtramp in backtrace")
    	}
    
    	re = regexp.MustCompile("#.* <signal handler called>")
    	loc := re.FindIndex(got)
    	if loc == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top