Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StringError (0.33 sec)

  1. src/regexp/all_test.go

    	`a+`,
    	`a?`,
    	`a|b`,
    	`a*|b*`,
    	`(a*|b)(c*|d)`,
    	`[a-z]`,
    	`[a-abc-c\-\]\[]`,
    	`[a-z]+`,
    	`[abc]`,
    	`[^1234]`,
    	`[^\n]`,
    	`\!\\`,
    }
    
    type stringError struct {
    	re  string
    	err string
    }
    
    var badRe = []stringError{
    	{`*`, "missing argument to repetition operator: `*`"},
    	{`+`, "missing argument to repetition operator: `+`"},
    	{`?`, "missing argument to repetition operator: `?`"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top