Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canCheckPrefix (0.11 sec)

  1. src/regexp/regexp.go

    const endOfText rune = -1
    
    // input abstracts different representations of the input text. It provides
    // one-character lookahead.
    type input interface {
    	step(pos int) (r rune, width int) // advance one rune
    	canCheckPrefix() bool             // can we look ahead without losing info?
    	hasPrefix(re *Regexp) bool
    	index(re *Regexp, pos int) int
    	context(pos int) lazyFlag
    }
    
    // inputString scans a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top