Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EmptyWordBoundary (0.36 sec)

  1. src/regexp/syntax/prog.go

    }
    
    // An EmptyOp specifies a kind or mixture of zero-width assertions.
    type EmptyOp uint8
    
    const (
    	EmptyBeginLine EmptyOp = 1 << iota
    	EmptyEndLine
    	EmptyBeginText
    	EmptyEndText
    	EmptyWordBoundary
    	EmptyNoWordBoundary
    )
    
    // EmptyOpContext returns the zero-width assertions
    // satisfied at the position between the runes r1 and r2.
    // Passing r1 == -1 indicates that the position is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/regexp/exec.go

    		if r2 >= 0 {
    			return false
    		}
    		op &^= syntax.EmptyEndText
    	}
    	if op == 0 {
    		return true
    	}
    	if syntax.IsWordChar(r1) != syntax.IsWordChar(r2) {
    		op &^= syntax.EmptyWordBoundary
    	} else {
    		op &^= syntax.EmptyNoWordBoundary
    	}
    	return op == 0
    }
    
    // match runs the machine over the input starting at pos.
    // It reports whether a match was found.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"EmptyBeginText", Const, 0},
    		{"EmptyEndLine", Const, 0},
    		{"EmptyEndText", Const, 0},
    		{"EmptyNoWordBoundary", Const, 0},
    		{"EmptyOp", Type, 0},
    		{"EmptyOpContext", Func, 0},
    		{"EmptyWordBoundary", Const, 0},
    		{"ErrInternalError", Const, 0},
    		{"ErrInvalidCharClass", Const, 0},
    		{"ErrInvalidCharRange", Const, 0},
    		{"ErrInvalidEscape", Const, 0},
    		{"ErrInvalidNamedCapture", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg regexp/syntax, const EmptyBeginText = 4
    pkg regexp/syntax, const EmptyEndLine = 2
    pkg regexp/syntax, const EmptyEndText = 8
    pkg regexp/syntax, const EmptyNoWordBoundary = 32
    pkg regexp/syntax, const EmptyWordBoundary = 16
    pkg regexp/syntax, const ErrInternalError = "regexp/syntax: internal error"
    pkg regexp/syntax, const ErrInvalidCharClass = "invalid character class"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top