Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseClass (0.09 sec)

  1. src/regexp/syntax/parse.go

    		if sign > 0 {
    			r = appendClass(r, tmp)
    		} else {
    			r = appendNegatedClass(r, tmp)
    		}
    	}
    	return r, t, nil
    }
    
    // parseClass parses a character class at the beginning of s
    // and pushes it onto the parse stack.
    func (p *parser) parseClass(s string) (rest string, err error) {
    	t := s[1:] // chop [
    	re := p.newRegexp(OpCharClass)
    	re.Flags = p.flags
    	re.Rune = re.Rune0[:0]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    				// linux/ppc64 not supported because it does
    				// not support external linking mode yet.
    				return true
    			default:
    				// Other targets do not support -shared,
    				// per ParseFlags in
    				// cmd/compile/internal/base/flag.go.
    				// For c-archive the Go tool passes -shared,
    				// so that the result is suitable for inclusion
    				// in a PIE or shared library.
    				return false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top