dCBOR Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Enumeration Reluctance

    Reluctance for quantifiers.

    Controls how a quantified pattern matches:

    • Greedy: Match as many as possible, backtrack if needed
    • Lazy: Match as few as possible, add more if needed
    • Possessive: Match as many as possible, never backtrack
    Index

    Enumeration Members

    Enumeration Members

    Greedy: "greedy"

    Grabs as many repetitions as possible, then backtracks if the rest of the pattern cannot match.

    Lazy: "lazy"

    Starts with as few repetitions as possible, adding more only if the rest of the pattern cannot match.

    Possessive: "possessive"

    Grabs as many repetitions as possible and never backtracks; if the rest of the pattern cannot match, the whole match fails.