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

Method emptyOptionsStack

syntax/parser.go:2282–2284  ·  view source on GitHub ↗

True if options stack is empty.

()

Source from the content-addressed store, hash-verified

2280
2281// True if options stack is empty.
2282func (p *parser) emptyOptionsStack() bool {
2283 return len(p.optionsStack) == 0
2284}
2285
2286// Finish the current quantifiable (when a quantifier is not found or is not possible)
2287func (p *parser) addConcatenate() {

Callers 1

countCapturesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected