- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScanCustomIdent (0.26 sec)
-
src/text/scanner/scanner_test.go
testScanSelectedMode(t, ScanChars, Char) testScanSelectedMode(t, ScanStrings, String) testScanSelectedMode(t, SkipComments, 0) testScanSelectedMode(t, ScanComments, Comment) } func TestScanCustomIdent(t *testing.T) { const src = "faab12345 a12b123 a12 3b" s := new(Scanner).Init(strings.NewReader(src)) // ident = ( 'a' | 'b' ) { digit } . // digit = '0' .. '3' . // with a maximum length of 4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0)