Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/regexp/onepass.go

    		default:
    			ok = extend(&lx, leftRunes, leftPC)
    		}
    		if !ok {
    			return noRune, noNext
    		}
    	}
    	return merged, next
    }
    
    // cleanupOnePass drops working memory, and restores certain shortcut instructions.
    func cleanupOnePass(prog *onePassProg, original *syntax.Prog) {
    	for ix, instOriginal := range original.Inst {
    		switch instOriginal.Op {
    		case syntax.InstAlt, syntax.InstAltMatch, syntax.InstRune:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top