Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Example_mode (0.09 sec)

  1. src/text/scanner/example_test.go

    	}
    
    	// Output:
    	// default:1:1: %
    	// default:1:2: var1
    	// default:1:7: var2
    	// default:1:11: %
    	//
    	// percent:1:1: %var1
    	// percent:1:7: var2
    	// percent:1:11: %
    }
    
    func Example_mode() {
    	const src = `
        // Comment begins at column 5.
    
    This line should not be included in the output.
    
    /*
    This multiline comment
    should be extracted in
    its entirety.
    */
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 02:01:58 UTC 2018
    - 2.7K bytes
    - Viewed (0)
Back to top