MCPcopy Create free account
hub / github.com/dlclark/regexp2 / emptyOptionsStack

Method emptyOptionsStack

syntax/parser.go:2624–2626  ·  view source on GitHub ↗

True if options stack is empty.

()

Source from the content-addressed store, hash-verified

2622
2623// True if options stack is empty.
2624func (p *parser) emptyOptionsStack() bool {
2625 return len(p.optionsStack) == 0
2626}
2627
2628// Finish the current quantifiable (when a quantifier is not found or is not possible)
2629func (p *parser) addConcatenate() {

Callers 1

countCapturesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected