Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseVerticalBar (0.18 sec)

  1. src/regexp/syntax/parse.go

    				return true
    			}
    		}
    		return false
    	case OpAnyCharNotNL:
    		return r != '\n'
    	case OpAnyChar:
    		return true
    	}
    	return false
    }
    
    // parseVerticalBar handles a | in the input.
    func (p *parser) parseVerticalBar() {
    	p.concat()
    
    	// The concatenation we just parsed is on top of the stack.
    	// If it sits above an opVerticalBar, swap it below
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top