Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseAndCompile (0.34 sec)

  1. src/regexp/all_test.go

    			}
    		}
    	}
    }
    
    // The following sequence of Match calls used to panic. See issue #12980.
    func TestParseAndCompile(t *testing.T) {
    	expr := "a$"
    	s := "a\nb"
    
    	for i, tc := range []struct {
    		reFlags  syntax.Flags
    		expMatch bool
    	}{
    		{syntax.Perl | syntax.OneLine, false},
    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